Downgrade Safari webdriver extension version to 2.38 - macos

There is a known issue with the Safari WebDrier extension version 2.45 working with Protractor (found here), i need to downgrade to 2.38 to work with my protractor tests, any idea how i can do this?
i managed to locate the 2.38 extension .jar file (found here), i extracted the jar file and located the .safariextz file but when i installed using that it just installed 2.45 anyway instead of 2.38
I am completely new to Mac so that's why i don't know, i cant seem to find anything about downgrading safari extensions

Related

Selenium ChromeDriver Version Conflict

My Selenium program written with Ruby randomly stopped working (it ran perfectly yesterday) and gave me this error:
Backtrace:: session not created: This version of ChromeDriver only supports Chrome version 89 (Selenium::WebDriver::Error::SessionNotCreatedError)Current browser version is 91.0.4472.77 with binary path C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe
I've since tried:
Un & re-installing ChromeDriver (newest version, as I was using before)
Replacing my current version with version 89 along with changing the path (this resulted in the same error)
Following these similar issues 1 & 2
I'm not sure where to go from here
I had a similar problem recently with the C# version.
I would double check where Selenium is being ran from.
In my case it was debug/netcoreapp3.1\chromedriver.exe, so it was running an outdated version compared to the version of Chrome installed.
Make sure you have the correct ChromeDriver version from here
If this fails, check the Ruby bindings wiki here
I had the same problem, but in C#. I had to update Nugget for ChromeDriver to match versions. So I basically updated my ChromeDriver to 91.0.4472 and it's resolved the issue.

How to open Scratchpad in Firefox newest Version 81.0

I am not able to find the option to open the scratchpad in Firefox version 81.0.
Normally it can be opened with Shift-F4. But obviously its not working for the newest version 81.0.
Any hints ?

Running Firefox on geckodriver 0.23 and Firefox 57 on Robot 3.1 and Python 3.7, 32 bit

I am trying to run Robot code on Firefox browser.
My setup is:
Selenium version is 3.141,
Robot version is 3.1,
Python version is 3.7,
Selenium library version is 3.3,
Gecko driver version is 0.23
This is my keyword.
Setup Browser Firefox
${caps} Evaluate sys.modules['selenium.webdriver'].common.desired_capabilities.DesiredCapabilities.FIREFOX sys,selenium.webdriver
Set To Dictionary ${caps} marionette=${True}
Set Global Variable ${GLOBAL_SELENIUM_BROWSER_CAPABILITIES} ${caps}
Create Webdriver Firefox .
Go To www.google.com
Every time I run the code, I get the error
keyError=sessionId
I have tried it with other combinations of geckodriver and Firefox, too, but without success.
Note: please ignore indentation.

Selenium webdriver 3.3.0 geckodriver error for firefox

I'm trying to execute a ruby script on my Windows 10.
Setup Details:
Browser :- latest version of Firefox, <br>
ruby -v 2.2.6<br>
gem -v 2.4.5.2 <br>
selenium webdriver -v 3.3.0
Now i got an error that it cant find geckodriver. I also downloaded geckodriver and added it to the Path.
This is the error message that I get:
Selenium::WebDriver::Error::WebDriverError: Unable to find Mozilla
geckodriver. Please download the server from
https://github.com/mozilla/geckodriver/releases and place it somewhere
on your PATH. More info at
https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette/WebDriver.
How can i solve this problem?
It is clear from the error message which is Unable to find Mozilla geckodriver and place it somewhere on your PATH
Here is what you need to do:
Download the latest stable gecko driver & place it in a folder in "C:\abc".
Rename the gecko driver to geckodriver.exe
Download and install the latest released Mozila Firefox.
Ensure you are using either 32 bit or 64 bit for both.
Keep your code like:
System.setProperty("webdriver.gecko.driver", "C:\\abc\\geckodriver.exe");
WebDriver driver = new FirefoxDriver();
driver.manage().window().maximize();
driver.get("http://gmail.com");
Let me know if it works for you.

Selenium WebDriver + Firefox 7.0.1 incompatibility

I have a project where we have some Selenium tests. I have recently upgraded Firefox to 7.0.1 because it prompted me to and now the "WebDriver for Firefox" extension that these tests use is broken.
How can I fix this? Must I uninstall this current version of Firefox and install an older one? Or is there a file I can edit to tell it to ignore that the version is different?
An upgrade to Selenium webdriver to 2.8 would probably solve it.
http://web.archive.org/web/20120115040501/http://selenium.googlecode.com/svn/tags/selenium-2.8.0/rb/CHANGES
Unfortunately this has been the case for every Firefox upgrade since 5.0
I would try with the latest selenium-webdriver. I run Firefox 7.0.1 as well and it works with selenium-webdriver 2.8.0.
You can tell Firefox to ignore plugin and extension versions.
Type about:config in the browser address bar
Right-click and create a new boolean value called extensions.checkCompatibility.7.0
Set this value to false
That should prevent the plugin raising an issue with its version compatibility to 7.0.1
i am working with FF-8. Just change the firefox version from standalone.jar. For this unzip your jar file with unzipper and search for install.rdf files in the unzipped files. Open them in word pad and change version. you can add the latest version of browser. There are five or six files that to be changed. after doing that again zip them change to extension .jar

Resources