Trending questions in Selenium

0 votes
1 answer

Matching different browser version and selenium driver version

Look at the below link to see ...READ MORE

Jun 21, 2018 in Selenium by Samarpit
• 5,910 points
2,735 views
0 votes
1 answer

I'm getting an error in my seleium chrome tests:- Chrome failed to start: exited abnormally

I've faced this issue before when working ...READ MORE

May 7, 2018 in Selenium by king_kenny
• 3,710 points
4,654 views
0 votes
1 answer

Converting commands recorded in selenium IDE into Java

Yes, it is possible to do this. ...READ MORE

Jun 25, 2018 in Selenium by Meci Matt
• 9,460 points
2,519 views
0 votes
1 answer

Returning null element when using following and preceding XPath selector

To identify the <input> tag with respect to the <label> tag ...READ MORE

Jun 8, 2018 in Selenium by Samarpit
• 5,910 points
3,220 views
0 votes
1 answer

Confused betwen Java AWT Robot & Selenium Actions

There are plenty of differences between the ...READ MORE

Apr 6, 2018 in Selenium by nsv999
• 5,500 points
5,923 views
0 votes
1 answer

Error with Selenium File Upload

In your code, you have used "WebElement" ...READ MORE

Mar 30, 2018 in Selenium by nsv999
• 5,500 points
6,222 views
0 votes
1 answer

Fails to open a link in Python using Selenium Webdriver

Try resetting value of y. Put y="" ...READ MORE

Jul 30, 2018 in Selenium by Samarpit
• 5,910 points
872 views
0 votes
1 answer

How to enable WebGL if i'm using headless chrome on Ubuntu?

Use this on Chrome for using osmesa sudo ...READ MORE

May 30, 2018 in Selenium by sniffy_god
• 780 points
3,476 views
0 votes
1 answer

Google search input text box

It seems you tried incorrect id. Please ...READ MORE

Jul 24, 2018 in Selenium by Samarpit
• 5,910 points
1,046 views
0 votes
1 answer

Need to perform parallel execution (multiple browser sessions) with Selenium & TestNG by using @BeforeSuite

@Beforesuite annotated method runs before the testNG.XML ...READ MORE

Mar 30, 2018 in Selenium by nsv999
• 5,500 points
6,052 views
0 votes
1 answer

Handling pop up in Chrome using Selenium WebDriver

AutoIt Window Information Tool do not recognize ...READ MORE

Jun 11, 2018 in Selenium by Meci Matt
• 9,460 points
2,889 views
0 votes
1 answer

How to locate class using enums in base class?

Define getters in PageClass like getDefaultFunctionality(), getConstrainMovement() etc. and then redesign ...READ MORE

Jul 26, 2018 in Selenium by Samarpit
• 5,910 points
908 views
0 votes
1 answer

Selenium WebDriver Real Time Projects

You should start with basics projects website ...READ MORE

Apr 30, 2018 in Selenium by Samarpit
• 5,910 points
4,633 views
0 votes
1 answer

Setting browser width and height in Selenium Web Driver

For me, the only thing that worked ...READ MORE

Jul 19, 2018 in Selenium by Meci Matt
• 9,460 points
1,161 views
0 votes
1 answer

Taking Screenshot using Selenium WebDriver

Using driver.save_screenshot('/path/to/file') we will be able to ...READ MORE

Jul 12, 2018 in Selenium by Meci Matt
• 9,460 points
1,435 views
0 votes
1 answer

How to execute browser less testing in Selenium

First, you need to install:-  install PhantomJS. After that ...READ MORE

Jul 16, 2018 in Selenium by Meci Matt
• 9,460 points
1,261 views
0 votes
1 answer

Which Firefox version is compatible with Selenium 2.53.0?

I had the similar problem. For me, ...READ MORE

Jun 26, 2018 in Selenium by Meci Matt
• 9,460 points
2,102 views
0 votes
1 answer

Getting selenium.common.exceptions.InvalidSelectorException with “span:contains('string')”

Use of css_selector to locate the element by ...READ MORE

Jul 10, 2018 in Selenium by Meci Matt
• 9,460 points
1,478 views
0 votes
1 answer

Selenium WebDriver for retrieving HTML input value

Try  element.getAttribute("value") The text property is for text within ...READ MORE

May 24, 2018 in Selenium by sniffy_god
• 780 points
3,459 views
0 votes
1 answer

DesiredCapabilities in Selenium WebDriver

DesiredCapabilities is a class in org.openqa.selenium.remote.DesiredCapabilities package ...READ MORE

Apr 4, 2018 in Selenium by nsv999
• 5,500 points
5,521 views
0 votes
1 answer

What is the default profile for Selenium WebDriver?

While using Firefox in Selenium WebDriver 3.0, ...READ MORE

May 14, 2018 in Selenium by Meci Matt
• 9,460 points
3,781 views
0 votes
1 answer

Install Selenium in a conda environment

Conda uses different channels to search for ...READ MORE

Apr 20, 2018 in Selenium by Vardy
• 2,360 points
4,808 views
0 votes
1 answer

Fail to connect to internet : Firefox 53 launched with gecko 0.16.1

Below code will help you: FirefoxProfile profile = ...READ MORE

Jul 25, 2018 in Selenium by Samarpit
• 5,910 points
644 views
0 votes
1 answer

errors when using class names locators. Getting compound classes are not supported

Pretty straight forward..If your class name includes ...READ MORE

May 29, 2018 in Selenium by sniffy_god
• 780 points
3,066 views
0 votes
1 answer

How can I select a particular node within the XPath node sets by index?

There is no concept of 'i' in ...READ MORE

Apr 21, 2018 in Selenium by king_kenny
• 3,710 points
4,576 views
0 votes
1 answer

Using partial Id in Selenium WebDriver

You can use CSS Selector for this, ...READ MORE

May 28, 2018 in Selenium by Meci Matt
• 9,460 points
2,911 views
0 votes
1 answer

Why to use WebDriver instead of Selenium IDE?

Selenium IDE is a Record and Playback ...READ MORE

Jul 11, 2018 in Selenium by Meci Matt
• 9,460 points
1,006 views
0 votes
1 answer

Downloading an executable with Selenium and Firefox Automatically

Below will help: When you create your driver: FirefoxProfile ...READ MORE

Jun 29, 2018 in Selenium by Samarpit
• 5,910 points
1,479 views
0 votes
1 answer

Which is preferred more in Selenium Absolute or Relative XPath

Absolute XPath is the direct way to ...READ MORE

Apr 20, 2018 in Selenium by Meci Matt
• 9,460 points
4,467 views
0 votes
1 answer

Identifying frames in selenium webdriver, when frame dont have ids

In Selenium WebDriver, if you don't find ...READ MORE

May 10, 2018 in Selenium by Meci Matt
• 9,460 points
3,597 views
0 votes
1 answer

Can we capture JavaScript errors in Selenium

This might work. Add the below code ...READ MORE

Jun 21, 2018 in Selenium by nsv999
• 5,500 points
1,763 views
0 votes
1 answer

Popup messages using Selenium Web Driver

Try to get text From Pop Up: String ...READ MORE

Jul 18, 2018 in Selenium by Samarpit
• 5,910 points
580 views
0 votes
1 answer

Double click a record in a grid using Selenium webdriver

Try Actions class to perform this Actions action ...READ MORE

Mar 30, 2018 in Selenium by Damon Salvatore
• 5,980 points
5,357 views
0 votes
1 answer

Integration of Protractor using Jenkins

I created a script, as follows # start ...READ MORE

Jun 19, 2018 in Selenium by Meci Matt
• 9,460 points
1,815 views
0 votes
1 answer

How to use FireFoxDriver using Selenium 3.4.0 using Maven?

Your using the wrong functions to set ...READ MORE

Apr 6, 2018 in Selenium by nsv999
• 5,500 points
4,996 views
0 votes
1 answer

Handling calendar popup using Selenium WebDriver

You are selecting wrongly your elements in ...READ MORE

Apr 17, 2018 in Selenium by Shubham
• 13,490 points
4,476 views
0 votes
1 answer

Native logger in Selenium WebDriver

Select the log types you want and ...READ MORE

Jun 19, 2018 in Selenium by Meci Matt
• 9,460 points
1,744 views
0 votes
1 answer

Getting "Disable developer" mode extensions pop up while using Selenium WebDriver

Try the following java code: System.setProperty("webdriver.chrome.driver", "D:\\chromedriver.exe"); ChromeOptions chrome ...READ MORE

May 21, 2018 in Selenium by Meci Matt
• 9,460 points
2,889 views
0 votes
1 answer

Handling user authentication popup in Mobile/Tablet

You can get xpath/id of popup element ...READ MORE

Jul 3, 2018 in Selenium by Samarpit
• 5,910 points
1,042 views
0 votes
1 answer

Selenium JARS(Java) missing from downloadable link

Nothing to worry about here. In the ...READ MORE

Apr 5, 2018 in Selenium by nsv999
• 5,500 points

edited Aug 4, 2023 by Khan Sarfaraz 4,876 views
0 votes
1 answer

Maximizing browser window in Selenium WebDriver using C#

You can use the JavascriptExector as follows: public void maximize() ...READ MORE

May 30, 2018 in Selenium by Meci Matt
• 9,460 points
2,491 views
0 votes
1 answer

Difference between Selenium RC and WebDriver

Selenium RC Selenium Remote Control (RC) is used ...READ MORE

Jun 14, 2018 in Selenium by Meci Matt
• 9,460 points
1,845 views
0 votes
1 answer

Selenium ChromeBrowser get() method is not working

Make sure you are passing a valid ...READ MORE

May 25, 2018 in Selenium by Samarpit
• 5,910 points
2,709 views
0 votes
1 answer

Safari getting launched on ios simulator, but not able to get url using driver.get(“”)

Below github link will help as the ...READ MORE

Jun 11, 2018 in Selenium by Samarpit
• 5,910 points
1,968 views
0 votes
1 answer

PhantomJS web driver stays in memory

Driver.Dispose(); shouldn't be used to clean up the WebDriver instance.  We ...READ MORE

Jul 10, 2018 in Selenium by Meci Matt
• 9,460 points
679 views
0 votes
1 answer

How can we create a new Firefox profile for Selenium WebDriver?

Okay so first of all, in the ...READ MORE

Apr 10, 2018 in Selenium by nsv999
• 5,500 points
4,611 views
0 votes
1 answer

Getting different texts from the HTML DOM through Selenium and Python

Try Below code: something = elem.find_element_by_xpath('./td[5]') text1 = driver.execute_script('return ...READ MORE

May 14, 2018 in Selenium by Samarpit
• 5,910 points
3,093 views
0 votes
1 answer

Selenium + Java - drag and drop not working on selenium 3.8

How about you try adding the below ...READ MORE

Mar 28, 2018 in Selenium by nsv999
• 5,500 points
5,148 views
0 votes
1 answer

Java.lang.CharSequence cannot be resolved error while using sendKeys() using Selenium Webdriver

You could try this, myElement .sendKeys(new String[] { ...READ MORE

Apr 4, 2018 in Selenium by Johnathon
• 9,090 points
4,798 views
0 votes
1 answer

Can we control the test execution speed in WebDriver (using Ruby)

The methods controlling execution speed in WebDriver ...READ MORE

May 31, 2018 in Selenium by king_kenny
• 3,710 points
2,335 views