Latest questions in Selenium

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,024 views
0 votes
1 answer

Headless gecko driver using Selenium

Try the below steps. It works for ...READ MORE

Jul 13, 2018 in Selenium by Samarpit
• 5,910 points
4,171 views
0 votes
1 answer

Login window session expiry using Selenium

The details you can find in below ...READ MORE

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

Screenshot with Selenium WebDriver

Try the below code: import java.io.File; import org.openqa.selenium.OutputType; import org.openqa.selenium.TakesScreenshot; import ...READ MORE

Jul 13, 2018 in Selenium by Samarpit
• 5,910 points
4,242 views
0 votes
1 answer

Selecting xpath for with multiple conditions using Selenium and Python

Use the XPath in either of the following ways ...READ MORE

Jul 13, 2018 in Selenium by Samarpit
• 5,910 points
28,856 views
0 votes
2 answers

What is the difference between BeforeClass and BeforeTest in TestNG - Selenium WebDriver

@Before and @After are called for every ...READ MORE

Mar 10, 2019 in Selenium by onlyfullstack
8,347 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,181 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
800 views
0 votes
1 answer

Get coordinates or dimensions of element with Python using Selenium WebDriver

WebElements have the properties such as .size and .location. ...READ MORE

Jul 11, 2018 in Selenium by Meci Matt
• 9,460 points
8,552 views
+1 vote
1 answer

How to click a link whose href has a substring using Selenium webdriver?

It can be done by using the ...READ MORE

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

How to I switch to a new window for links with “blank” targets using Capybara?

Capybara 2.3 includes the new window management ...READ MORE

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

Error: unable to add browser extension to Firefox profile using Selenium

Try to create profile on Firefox browser ...READ MORE

Jul 11, 2018 in Selenium by Samarpit
• 5,910 points
2,863 views
+1 vote
1 answer

How to download a file at a specified location through python and selenium using Chrome driver

Create a profile for chrome and define ...READ MORE

Jul 11, 2018 in Selenium by Samarpit
• 5,910 points
35,032 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
553 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,274 views
+1 vote
2 answers

Error: stale element reference: element is not attached to the page document

go to your code and apply implicit ...READ MORE

Dec 21, 2018 in Selenium by Malik
57,526 views
+1 vote
2 answers

Drop-down menu option value not working using Selenium (Python)

from selenium.webdriver.support.select import Select inputElementG ...READ MORE

Nov 28, 2018 in Selenium by Rijhu mal
14,422 views
0 votes
1 answer

How to pause for few seconds in Selenium?

you can locate an element that loads ...READ MORE

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

How to enter text into text field using Selenium WebDriver

You can use the same code as ...READ MORE

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

Error: No module named 'chardet'

This should just be a question of ...READ MORE

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

Error: TestNG @BeforeClass initialization code not running before Test

Below will help: @BeforeTest: The annotated method will ...READ MORE

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

Uploading files using selenium WebDriver

Try using input() function: WebElement fileInput = driver.fin ...READ MORE

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

How to wait till the text is present In text field

Use Waits in Selenium WebDriver to wait ...READ MORE

Jul 5, 2018 in Selenium by Meci Matt
• 9,460 points
7,214 views
0 votes
1 answer

Getting the proper xpath for date picker in selenium

Try to use explicit wait. Sometimes it ...READ MORE

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

Error: driver.navigate().to(“url”) is not working in Chrome 64 and driver chrome 2.35;

You should downgrade your chrome. It will ...READ MORE

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

Not able to find element with Xpath

You are using wrong xpath expression. This ...READ MORE

Jul 4, 2018 in Selenium by Samarpit
• 5,910 points
4,452 views
0 votes
2 answers

Python: Using an existing google chrome profile with selenium chrome web driver

The problem is with the string "C:\Users\Eric\Desktop\beeline.txt" Here, \U starts an ...READ MORE

May 24, 2019 in Selenium by shinio llahsra
12,568 views
0 votes
1 answer

Counting the list within HTML structure using Selenium Webdriver

Try Below code: This should work driver.findElements(By.xpath(" ...READ MORE

Jul 3, 2018 in Selenium by Samarpit
• 5,910 points
5,405 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
652 views
0 votes
1 answer

Selenium-Debugging Error: Element is not clickable at point (X,Y)

Another element is covering the element you ...READ MORE

Jul 2, 2018 in Selenium by Samarpit
• 5,910 points
8,576 views
0 votes
1 answer

Error Throwing: TimeoutException after an element was clicked with true ExpectedConditions

As you are trying to invoke click() on the ...READ MORE

Jul 2, 2018 in Selenium by Samarpit
• 5,910 points
2,996 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,339 views
0 votes
1 answer

Unable to Start tor using Python Selenium Error: failed to start

I tried to solve same problem on ...READ MORE

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

Using IF / ELSE in selenium IDE

You'll have to download the Flow Control plugin for ...READ MORE

Jun 28, 2018 in Selenium by Meci Matt
• 9,460 points
6,179 views
0 votes
1 answer

Using switch_to_windows() and printing the title doesn't print the title in Selenium webdriver

The title of the page will not ...READ MORE

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

Read data from excel sheet in python

Try to use xrld. A python module used ...READ MORE

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

Selenium Error: Runtime.executionContextCreated has invalid 'context':

Degrade your chrome driver version from 2.9 ...READ MORE

Jun 28, 2018 in Selenium by Samarpit
• 5,910 points
4,062 views
+1 vote
2 answers

Selenium IDE Click button error while clicking on Play Recording

Hello, There are a number of reasons that ...READ MORE

Nov 30, 2019 in Selenium by surbhi
• 260 points
1 flag 1,902 views
0 votes
1 answer

I am getting error: Element should have been “select” but was “input” using Selenium Webdriver Java

You can Select element by the following ...READ MORE

Jun 27, 2018 in Selenium by Samarpit
• 5,910 points
23,518 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
1,914 views
0 votes
1 answer

How to resolve Pycharm Referenced Error with Import Selenium Web driver?

Below will help: Pycharm > Preferences > Project ...READ MORE

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

Setting the webdriver.chrome.driver system property

When u use Selenium 3.x you should ...READ MORE

Jun 26, 2018 in Selenium by Samarpit
• 5,910 points
17,371 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,230 views
0 votes
5 answers

Moving mouse pointer to a specific location or element using C# and Selenium

n order to perform a 'mouse hover' ...READ MORE

Dec 16, 2020 in Selenium by Gitika
• 65,910 points
49,348 views
0 votes
1 answer

How to scroll until the element is in view using Selenium2Library Keyword?

You have to download the ExtendedSelenium2Library from ...READ MORE

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

How to start with a POST request using Selenium?

No, you cannot do this. But you ...READ MORE

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

Open new tab instead of a new window in Selenium WebDriver

The current version of Selenium do not ...READ MORE

Jun 22, 2018 in Selenium by Meci Matt
• 9,460 points
3,683 views
0 votes
1 answer

Using Selenium with PHP

Try Following things Install PHPUnit  Install JAVA SDK & ...READ MORE

Jun 21, 2018 in Selenium by Meci Matt
• 9,460 points
927 views
0 votes
2 answers

Get text using selenium web driver in python

text = driver.find_element_by_class_name("current-text").getText(); ...READ MORE

Feb 4, 2019 in Selenium by anonymous
37,619 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,594 views