I tried to learn JMeter+Selenium but there is small problem:
I started with this:
http://blazemeter.com/blog/jmeter-webdriver-sampler
done everything to the heading "Code Review".
When I run Thread group it opens Firefox but does not open requested website.
My FF version is 34.0.5
JMeterPlugins-WebDriver-1.2.0
Any ideas?
Take a look into The WebDriver Sampler: Your Top 10 Questions Answered guide
Q. How do I Know Which Browsers are Supported? section explains how to identify appropriate Firefox version for WebDriver plugin.
JMeterPlugins-WebDriver-1.2.0 contains selenium-firefox-driver-2.39.0.jar
Looking into Selenium changelog
v2.39.0
=======
WebDriver:
* Update to support native events for Firefox 26.
So you need to use Firefox 26 with WebDriver-1.2.0 plugin version. You can download Firefox 26 from Mozilla FTP site
If you are doing any native calls in the driver, such as .get or .sendKeys, then the latest version of Firefox you can use is 31.0.6 . If you avoid those native calls and do non-native Javascript calls instead, such as using a JavascriptExecutor to navigate the browser, then you should be able to use a later version of Firefox.
Related
After updating Firefox to version 50.0 my Firebug opens the default developer tools. The original Firebug doesn't work anymore.
I have always preferred Firebug as my default debugging tool. I want the original Firebug back in Firefox 50. How can I do that?
Firebug does not work anymore once multi-process Firefox (separate processes for the Firefox UI and the websites) is enabled. See the related post in the Firebug blog.
You may be able to reenable Firebug by setting the preferences browser.tabs.remote.autostart, browser.tabs.remote.autostart.1 and browser.tabs.remote.autostart.2 to false via about:config. Though at some point this preference will be removed.
So, you are advised to use the Firefox DevTools instead. I am writing a migration guide on MDN. Firebug features that are not in the DevTools are covered in a Firefox bug.
First remove new version of "firebug" and download old version of "Firebug(2.0.17)" from following URL:
https://addons.mozilla.org/en-US/firefox/addon/firebug/versions/
Uninstall Firefox completely including deleting the Mozilla folder within your APPDATA.
Then reinstall Firefox and add both Firebug and FireQuery.
After that everything should work as before.
You can also go on Help -> Troubleshooting Information -> Refresh Firefox and install Firebug through http://addons.mozilla.org/
For all the folks out there, there is a good news..!! Firebug works great on these two Mozilla based browsers.
Cyberfox & Palemoon
Both are forks of forefox that uses code before the implementation multi-process. Cyberfox uses the more recent code fork compared to Palemoon.
Both browsers are well maintained and updated regularly.
Cyberfox announced its death on March 2017 but its still actively maintained [as of Dec 2017] and I still get update.
Both browsers support cross platform windows / Linux, on Linux you should have 64 bit distro to use cyberfox. Palemoon on the other hand works great on both the bits.
i am trying to open Google website by selenium using python language. Here It invoking Firefox browser but unable to paste the URL , i think the version which i am using is not supported
i am using selenium v2.35 and Firefox 10.0
Is these both are compatible or else please suggest me which Firefox version i have to install
I used the following code to invoke the browser
from selenium import webdriver
def Main():
driver=webdriver.Firefox()
driver.maximize_window()
url = driver.get("http://google.com")
Main()
As per this changelog, Firefox version till 23 is supported by selenium 2.35.
Try updating your firefox to any version greater than 12 and less than 24. It should work as expected.
For automating one of the tests, I've to perform drag and drop. Hence, I tried to achieve it following way:
driver.action.drag_and_drop(source, target).perform
but it results into an error:
Selenium::WebDriver::Error::InvalidElementStateError: Cannot perform native interaction: Could not load native events component.
I ran this test on following configuration:
Firefox 23.0.1
Selenium WebDriver 2.35.0
I chose above combinations because change log says - with Selenium WebDriver 2.35.0 and Firefox 23, native event components works fine.
Even though I used correct Firefox and Selenium WebDriver versions, it's throwing error.
Looking at stackoverflow, I can see same kind of issue has been asked several times. And answers to these questions are like: either downgrade/upgrade Firefox, Selenium WebDriver versions
Everytime Firefox or Selenium WebDriver version is upgraded, users face these problems. Hence user look at change log and try find right combination of Firefox and WebDriver. (and even though I followed it, I'm facing problem)
My questions are:
Is there easiest way which will help to choose correct Firefox and Selenium WebDriver versions?
Or is there any workaround for mouse interactions using Selenium?
so that we can get rid of Cannot perform native interaction: Could not load native events component.error.
You should also have the option of "manually" executing the JS function which is triggered by the drag and drop, using driver.execute_script("JavaScript code here").
I have Firefox browser v20 and I want to know which version of selenium-webdriver support to it.
Use latest Selenium Webdriver 2.32.0.jar
You can download it from here. http://docs.seleniumhq.org/download/
You can view changelog in this link which states that it supports Firefox 20. http://selenium.googlecode.com/git/java/CHANGELOG
Hi I met a strange issue which didn't show before when I use Selenium IDE to record some tests.
It doesn't get the url automatically when Selenium IDE is opened.
Which is the critical problem: once I stop the recording or play the test case which would stop the recording as well, it no longer records any additional action when I click again the recording button.
I'm not sure whether this is the problem of Selenium IDE or some problem with my Firefox. What I use is Selenium IDE 1.9.1, and Firefox 17, and there's no such problem when the first time I used it a couple of days ago.
Many thanks for the help.
Check this link.
Firefox 17 will be supported in upcoming selenium ide 1.10.0. So, better downgrade your firefox to 15 for better functioning of selenium ide 1.9.1
Just for record, I have fixed the issue in Selenium IDE v2.3.0, which should be released soon. See http://code.google.com/p/selenium/issues/detail?id=5820