ChromeWebDriver – unknown error: Chrome failed to start: crashed

Eventually I found out that WebDriver was trying to run Chrome from C:\Users\______\AppData\Local\Google\Chrome\Application\chrome.exe, which was not working even when trying it manually. It was very strange because when I launch Chrome I use one installed in Program Files directory and it works without problems. So I had uninstalled Chrome, deleted everything from c:\Users______\AppData\Local\Google\Chrome\ and installed … Read more

selenium.common.exceptions.WebDriverException: Message: chrome not reachable error while using find_element_by_id Selenium with ChromeDriver

The error says it all : raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: chrome not reachable This error is observed in case of version compatibility between the binaries which an user uses but definitely this is not your case as you are : Using chromedriver=2.36 Using chrome=65.0 Selenium version unknown Release Notes of chromedriver=2.36 clearly mentions … Read more

Official locator strategies for the webdriver

Yes, you saw it right. As per the current WebDriver – W3C Candidate Recommendation the Locator Strategies enlisted are as follows: “css selector”: CSS selector “link text”: Link text selector “partial link text”: Partial link text selector “tag name”: Tag name “xpath”: XPath selector Snapshot: However, the JsonWireProtocol was once used to support the Locator … Read more