Selenium install linux2/14/2024 sudo mv -f ~/msedgedriver /usr/local/share/ sudo sh -c 'echo "deb stable main" > /etc/apt//microsoft-edge-dev.list' sudo install -o root -g root -m 644 microsoft.gpg /etc/apt// travis.yml file: # Get Edge and its driver In Travis CI, I have the dev version of msedgedriver in the executable path though, which is another reason why I'm thinking the problem is because I'm using the dev releases. It's my understanding that this error happens when msedgedriver is not in the executable path. To get an idea of the kind of errors I'm getting, here's a sample test script: from lenium_tools import EdgeOptionsįrom lenium_tools import webdriver as EdgeDriverĭriver = EdgeDriver.WebDriver(options=edge_options)Īnd the error I get from this is: : Message: session not created: No matching capabilities found I would try to use the non-dev versions in the build server if it were possible, but as far as I can tell, version 91 is the earliest Edge and msedgedriver compatible with Linux. I'm using selenium 3.141.0 and msedge-selenium-tools 3.141.3. This is my suspicion because the tests pass on my local machine, a Windows system using the latest non-dev version of Edge and its driver, 90.0.818.41. I'm having a problem getting my tests to pass in my Travis CI (Linux) instance and I think it's because MS Edge and msedgedriver are the dev versions in the build server, 91.0.852.0 at the time of writing this. I've tested all the functionality with Chrome and Firefox only and I'm now trying to add Edge. As a side project, I wrote a Python module that's basically a wrapper for Selenium.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |