I have tried to do testing with URL of the webpage using Selenium. But, I tried with Google Colaboratory for compiler and Python for programming language. I use this code for starting
from selenium import webdriver
after import webdriver I called Edge webdriver with this code
driver = webdriver.Edge()
but I got error cannot find msedge binary. I am curious, why it's gonna be wrong? what the function of webdriver.Edge()
if you must added the location directory of Edge.exe from your computer directory? Can it running automatically without location directory of Edge application? So, URL of the webpage will be opened automatically because the program already running on the Edge
1 Answer 1
You actually need the Edge WebDriver. The Edge browser needs to be installed on the testing machine, but the Edge WebDriver should be installed in your testing project so you can control where it is.
Microsoft has more information about the Edge WebDriver at https://learn.microsoft.com/en-us/microsoft-edge/webdriver-chromium/?tabs=c-sharp (I am not affiliated in any way).
You will need to ensure that your version of the web driver matches your version of Edge or you could get errors.
Explore related questions
See similar questions with these tags.