options = Options() driver = webdriver.Chrome(service=Service(ChromeDriverManager().install()),options=options) driver.maximize_window() wait=WebDriverWait(driver,10) driver.get("https://steamdb.info/tech/Engine/Unity/") wait.until(EC.element_to_be_clickable((By.CSS_SELECTOR,"svg > g.highcharts-exporting-group > g > image"))).click() wait.until(EC.element_to_be_clickable((By.CSS_SELECTOR,"ul.highcharts-menu > li:nth-child(2)"))).click()
If you want to use Options in conjunction with Service you should do it like so I used Chromedriver manager to make sure the binaries are correctly set up. From there you need to wait for the element to be clickable using Webdriver waits and then click on those elements.
Implicit waits are for page loads not element finding so use explicits.
Chromeoptions is depreciated along with driver.find_element_by_*.
Incorrect xpaths selected.
from selenium import webdriver from selenium.webdriver.chrome.service import Service from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.webdriver.chrome.options import Options from webdriver_manager.chrome import ChromeDriverManager
- Element not found SteamDB - Selenium
- Code works on fiddle but not when I do /show
- Highcharts will not render if element in series data is empty
- HighChart Libraries Android: HIOptions not found in HIChartView
- Class 'ConsoleTVs\Charts\Facades\Charts' not found in laravel Charts
- Highcharts w/React - rendering div not found in JSX
- Highcharts using Django-Chartit. Chart lines not displayed without window resize, or Inspect Element
- Highcharts renderTo container not found (error 13)
- Jquery was not found on this server. Wordpress
- Highcharter package not found - highchart function not available
- Strange character in the Highstock source code
- child Progress indicator is not working after collapsed and expanding parent element
- How to click on SVG element in highcharts to download file using Selenium
- x-axis, y-axis lines does not appear, when I include 3D chart library of HighChart in my code
- Node-highcharts module not found
- HighChart 'tooltip' object is not found on the very next line in IE8
- ajax call does not fire jquery code
- Decimals on yAxis are not being displayed, even if that same code works on highcharts jsfiddle
- The type or namespace name 'Highsoft' could not be found
- How to modify the code so that Highcharts graph does not cover fixed navigation bar at the top of the page?
- why my highchart code is not working?
- Internet Explorer 9-11 does not fill g element with color (highcharts)
- Div element not hiding even after hiding the tooltip in highcharts
- highcharts plugin cakephp option for 3d not found
- The resource can not be found .net mvc4
- Highcharts throwing container not found error but the container exists
- Trying to add a button to a iframe HighCharts document, chart variable not found
More Query from same tag
- Turning array of JSON objects into an array for HighCharts/GoogleCharts
- passing json values to highcharts from .net code behind
- highcharts dataLabel overflow: justify issue
- I cant save my highchart chart data in localStorage
- How to make highchart points redirect to another component with value in React?
- HighCharts show datetime format on xAxis
- Load local JSON data into chart (JSON+Highcharts)
- Is angular2-highcharts paid ? Can i use it for my Client?
- Highcharts Network Graph Arrow Links
- Highcharts Data Migration From Older Versions
- Highcharts Highmaps plugin legend bug
- Meteor: Display API result data on highcharts
- HighCharts load data via Json
- Highchart autoscalling
- Highcharts: how to make slices readjust when disabling one?
- How to change the palette colors of a highcharter column plot which depends on a variable?
- blank page in Highcharts
- How we can show Highchart column-placement chart for negative values?
- HighcharteR Tooltip
- Highstock.js display incorrect value if more than 2000 points
- How can I change icon of the custom stock-tool button on click event?
- highcharts zoom bug (column chart)
- highcharts - how do I do custom labels on heatmap legend
- Loading Highcharts series from XML using jQuery
- highchart not shown data graph
- What is the best strategy for testing D3/HighCharts/SVG?
- highcharts JSON google earth
- Highstock csv date issue
- How can I change the color of legend points?