As the image shows. SublimeText3, I have installed the selenium package but it still won't work. Anyone could help me?
It suppose to open a browser but it did nothing.
Did you download and apply chromedriver or geckodriver (Firefox) to your project ?
Related
As stated, I am trying to use webdriver.Chrome in this sample project I'm doing but I am completely lost on what to do. This is the error I get error. But when I look at the version of chrome I installed, it seemed to match up. Chrome Version. Does anyone know what's happening? Sorry if the post is too unspecific.
You have to update your chrome browser. Try to update the installed chrome version to latest version.
To overcome this problem, use WebDriverManager: refer - https://bonigarcia.dev/webdrivermanager/ and https://github.com/bonigarcia/webdrivermanager.
If you are using Python with selenium, refer to this post for sample code:
Chrome with WebDriver--Why is it disappearing as soon as I hit "run"? Chrome Driver version 106 but Chrome can only be 105.0.9
If you are using Java with selenium, refer to this post for sample code:
element click intercepted in Selenium wedriver
I added the chromedriver path and still receive this error when i load chromedriver via selenium.
pry(main)> browser=Watir::Browser.new(:chrome)
Selenium::WebDriver::Error::WebDriverError: Unable to find chromedriver. Please download the server from http://chromedriver.storage.googleapis.com/index.html and place it somewhere on your PATH. More info at https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver.
from /home/roberto/.rvm/gems/ruby-2.4.1/gems/selenium-webdriver-3.12.0/lib/selenium/webdriver/common/service.rb:57:in `binary_path'
so i already have the chromedriver and i can access it via cmd direct but not via selenium using ruby
what i missing here.. can someone highlight it ?
I would recommend you download the chromedriver binary from here: https://chromedriver.chromium.org/ and paste it into your automated test project directory root. Then when you specify in your code to instantiate your driver you can simply do this:
Selenium::WebDriver::Chrome::Service.driver_path = File.join(Dir.pwd, 'chromedriver')
driver = Selenium::WebDriver.for(:chrome)
Im not familiar with watir driver but this is how I've done it with selenium-webdriver gem in the past
A little more information may be helpful in us trying to help you out. Have you looked into these points in the documentation?
The chromedriver binary is in the system path, or
The Selenium Server was started with -Dwebdriver.chrome.driver=c:\path\to\your\chromedriver.exe
I recently uninstalled Mozilla Firefox v47 becuase it was not working with Selenium WebDriver. I then installed Firefox v45.0 which is working successfully with Selenium WebDriver.
The problem is that now, cant open Firefox on it own. I double click the application icon and nothing happens. I have tried to run it as an admin, from the program files folder and still nothing happens.
I have no idea how to identify what's wrong.
Any help will be appreciated.
I had the same problem, try to install version 46 of Firefox (it works with the latest version of selenium WebDriver) :
https://ftp.mozilla.org/pub/firefox/releases/46.0.1/
I just installed the Selenium IDE plugin into Firefox 32 using the "Get Add-ons" feature. When I click on the Selenium button, I get an alert box that says: "You don't have installed Selenium IDE".
Has anyone else ever encountered this problem, and if so, do you know how to solve it?
Bro please do not add selenium addon from firefox as there is selenium IDE 1.2.0 available
as this is a bug in firefox 32, so you have to manually download the addon for firefox 32
go to this website: http://www.seleniumhq.org/download/ and download Selnenium IDE 2.8.0 version , it will work.Apart from that if you have more questions please write it down on the same thread, i will be very happy to answer them.
I am using typekeys to type something and to enable a button in my application.
But whenever the typekeys command is executed in firefox help of the firefox gets opened.
Please, can anybody tell me how to solve this problem?
Unfortunately the Selenium TypeKeys and Type commands work at the browser level so if you are override somethings it won't work in Selenium.
This bug is still open on the Selenium.
You can try the WebDriver API available in Selenium 2.0 (alpha 1) and the sendKeys command. Available here: http://code.google.com/p/selenium/downloads/list