Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

untested code change to use find_element() #105

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion altair_saver/savers/_selenium.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ def _extract(self, fmt: str) -> MimebundleContent:
driver.get("about:blank")
driver.get(url)
try:
driver.find_element_by_id("vis")
driver.find_element("id","vis")
except NoSuchElementException:
raise RuntimeError(f"Could not load {url}")
if not self._offline:
Expand Down