Javascript example not working
macroking opened this issue · comments
http://www.seleniumhq.org/docs/03_webdriver.jsp
Example in section - Introducing the Selenium-WebDriver API by Example
Issues:
- ReferenceError: webdriver is not defined. (fix: By adding a require statement)
- TypeError: Target browser must be a string, but is ; did you forget to call forBrowser() ( fix : make a forBrowser('firefox') call)
- Error: The geckodriver.exe executable could not be found on the current PATH. (Download and set the geckodriver path in the example)
Do you want raise a PR ?
I'm working on it.
Closing as the related PR was never merged and we have a new site and new docs as well.
Apologies again @macroking!