Trending questions in Selenium

0 votes
0 answers

In Selenium, how to give a name to a file when it is downloading?

I'm working with a Selenium script where I'm ...READ MORE

Jul 15, 2019 in Selenium by Vaishnavi
• 1,180 points
4,019 views
+1 vote
0 answers

Is it possible to pass a fake media stream to Firefox with the help of a command line?

I'm currently developing a Selenium-Java based application and ...READ MORE

Jul 22, 2019 in Selenium by Vaishnavi
• 1,180 points
3,642 views
0 votes
1 answer

How to write regular expression In testng.xml file to search for specific keyword.

Hi Joginder, you can write regular expression ...READ MORE

Jun 19, 2019 in Selenium by Anvi
• 14,150 points
5,075 views
0 votes
1 answer

Does Selenium WebDriver Support Record And Playback Facility?

Hi Gurminder, Selenium Webdriver doesn't support Record ...READ MORE

Jul 3, 2019 in Selenium by Emraan
4,441 views
0 votes
1 answer

How to mouse hover on a web element using Selenium WebDriver?

Hello Nitin, to automate mouse hovering over ...READ MORE

May 7, 2019 in Selenium by Anvi
• 14,150 points
6,863 views
0 votes
1 answer

What are the different Exit Codes while executing a Pytest code?

Hello Esha, while executing a Pytest code, ...READ MORE

Aug 22, 2019 in Selenium by Abha
• 28,140 points
2,248 views
0 votes
1 answer

What are the different methods (APIs) provided by Selenium Webdriver to take screenshot of a webpage?

Hey Hemant, Selenium Webdriver provides 3 different ...READ MORE

Jul 22, 2019 in Selenium by Abha
• 28,140 points
3,562 views
0 votes
1 answer

Which method is used to switch to a frame on a webpage using Ruby Selenium Webdriver?

Hi Hemant, you can use driver.switch_to.frame method to switch ...READ MORE

Aug 27, 2019 in Selenium by Abha
• 28,140 points
2,041 views
0 votes
1 answer

How to retrieve web element which has dynamically changing Id like login label's id in Facebook changes dynamically?

Hi @Anshul, if you have dynamically changing ...READ MORE

Jul 2, 2019 in Selenium by Rajan
4,383 views
0 votes
2 answers

What is a headless browser in automation testing and what are it's benefits?

Hi Sanaya, a headless browser is a web browser ...READ MORE

Aug 1, 2019 in Selenium by Abha
• 28,140 points
4,672 views
0 votes
1 answer

Is it possible to open a web page in a specific languages like Japanese or Chinese using Selenium Webdriver?

Hey Pratyush, yes it is possible to ...READ MORE

Jul 2, 2019 in Selenium by Rubina
4,379 views
0 votes
1 answer

How to get the select options using Selenium WebDriver in Java

Hey there! You should be able to get ...READ MORE

Jun 14, 2019 in Selenium by Surya
• 970 points
5,135 views
0 votes
1 answer

Facing error while using Remote webdriver with Selenium Ruby. Please help!

Hi Bhanu, you might be facing this ...READ MORE

Aug 23, 2019 in Selenium by Abha
• 28,140 points
2,070 views
0 votes
1 answer

How to switch between two windows in browser using Selenium java

Yes, this is possible. First, you need ...READ MORE

Sep 25, 2018 in Selenium by Meci Matt
• 9,460 points
16,353 views
0 votes
1 answer

How can I resolve NoSuchElementException error thrown by findElement function in Selenium Webdriver?

Hello Dinesh, this error usually occurs when ...READ MORE

Jul 4, 2019 in Selenium by Anvi
• 14,150 points
4,183 views
0 votes
1 answer

How can I automate google search for a keyword using ruby selenium webdriver?

Hi Amir, following code snippet shows how ...READ MORE

Aug 26, 2019 in Selenium by Anvi
• 14,150 points
1,862 views
0 votes
2 answers

What is cross browser testing?

Cross browser compatibility is the ability of ...READ MORE

Mar 25, 2019 in Selenium by Frankie
• 9,830 points
1,345 views
0 votes
1 answer

What is Marionette driver and how it can be used to instantiate Firefox webdriver?

Hey Manju, Marionette driver is the new driver ...READ MORE

Jul 15, 2019 in Selenium by Anvi
• 14,150 points
3,635 views
0 votes
1 answer

How to take Screenshot of a webpage in Selenium with Ruby

Hi Sunita, you can use following code ...READ MORE

Aug 26, 2019 in Selenium by Anvi
• 14,150 points
1,860 views
0 votes
1 answer

How to count words in notepad File using Selenium

To perform character count. String fPath="D:/MyTextFile.txt"; int fileCharactersCount=Files.readAllBytes(new File(fPath).toPath() ...READ MORE

Aug 7, 2019 in Selenium by neerajv
• 170 points
2,630 views
0 votes
1 answer

how to click on a ref link on Selenium C3

To click on a href link using ...READ MORE

Sep 5, 2019 in Selenium by Abha
• 28,140 points
1,359 views
0 votes
1 answer

What are the benefits of using Junit testing framework?

Hi Prakhar, some of the benefits of ...READ MORE

Jun 12, 2019 in Selenium by Abha
• 28,140 points
5,038 views
0 votes
1 answer

What are the benefits and drawbacks of using Test Driven Development in Automation testing?

Hi Sharon, Test Driven Development (TDD) is an iterative ...READ MORE

Aug 5, 2019 in Selenium by Anvi
• 14,150 points
2,754 views
0 votes
1 answer

How to minimize a browser window using Selenium Webdriver?

Hello Kashmira, to minimize a browser window ...READ MORE

Jul 15, 2019 in Selenium by Anvi
• 14,150 points
3,544 views
0 votes
1 answer

How can I select the drop down date section using selenium?

First thing that you need to do ...READ MORE

Dec 19, 2018 in Selenium by Nabarupa
12,542 views
0 votes
1 answer

How to run a test case on remote webdriver using ruby selenium?

Hey Dhanush, you can follow the below ...READ MORE

Aug 23, 2019 in Selenium by Abha
• 28,140 points
1,817 views
0 votes
1 answer

What is the use of Pytest with Selenium Webdriver?

Hi Abhinav, Pytest is a testing framework ...READ MORE

Aug 22, 2019 in Selenium by Anvi
• 14,150 points
1,855 views
0 votes
1 answer

How to navigate to a web URL using IE driver in Python Selenium?

Hello Neelam, to navigate to a web ...READ MORE

May 16, 2019 in Selenium by Pratibha
• 3,690 points
6,071 views
0 votes
1 answer

What is setScriptTimeout() command in Selenium Webdriver?

Hey Larry, as per the official definition:  setScriptTimeout() ...READ MORE

Jul 5, 2019 in Selenium by Abha
• 28,140 points
3,876 views
0 votes
1 answer

How to insert a file in Attach File in Gmail by selenium java ?

Hey Siva, to insert a file in ...READ MORE

Jul 17, 2019 in Selenium by Abha
• 28,140 points
3,359 views
0 votes
3 answers

Can we run selenium tests (Firefox) on WebDriver without a GUI?

Hi ,  Yes, you can use headless browsers ...READ MORE

Sep 2, 2020 in Selenium by Sri
• 3,190 points
4,732 views
+1 vote
1 answer

Locator issue for changed frame.

Hi ADS, can you please share your ...READ MORE

Aug 27, 2019 in Selenium by Abha
• 28,140 points
1,494 views
0 votes
1 answer

What is a Window Handle in Selenium Webdriver?

Hi Fardeen, a Window Handle is a unique ...READ MORE

May 13, 2019 in Selenium by Sharath
6,124 views
0 votes
1 answer

How to print all google suggestions for a keyword using Selenium Webdriver?

Hello Cherry, below is the automation script ...READ MORE

May 23, 2019 in Selenium by Abha
• 28,140 points
5,694 views
0 votes
1 answer

How can you run Selenium test cases on Jenkins?

You can use recorded Selenium IDE script ...READ MORE

Jun 28, 2019 in Selenium by Vaishnavi
• 1,180 points
4,100 views
0 votes
1 answer
0 votes
1 answer

Can I run TestNG using Command Prompt?

Hey Himanshi, you can run testNG with command ...READ MORE

Jun 20, 2019 in Selenium by Abha
• 28,140 points
4,441 views
0 votes
1 answer

How to download and install Maven to integrate with Selenium?

Hey Henry, follow these steps to download ...READ MORE

Jul 18, 2019 in Selenium by Abha
• 28,140 points
3,211 views
0 votes
1 answer

Double click in Selenium using Python

Hey there! As far as I know, ...READ MORE

Mar 20, 2019 in Selenium by Surya
• 970 points
8,369 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
16,193 views
0 votes
1 answer

How to pause a test execution for 5 seconds at a specific point in Selenium?

Thread.sleep(5000); READ MORE

Jul 18, 2019 in Selenium by masood
4,142 views
0 votes
1 answer

Is there any alternate way of refreshing a web page other than refresh() method in Selenium?

HI Parineeti, to refresh a webpage, we ...READ MORE

Jul 23, 2019 in Selenium by Anvi
• 14,150 points
2,960 views
0 votes
1 answer

How to perform double click using mouse actions in Selenium with Python?

Hi harsh, you can use ActionChains() class ...READ MORE

Jul 29, 2019 in Selenium by Abha
• 28,140 points
2,627 views
0 votes
1 answer

How can I perform multiple selection of options in a dropdown using Select class in Selenium?

Hey Priyansh, you can select multiple options ...READ MORE

Jul 8, 2019 in Selenium by Anvi
• 14,150 points
3,523 views
0 votes
0 answers

Execute two separate test cases in the same browser instance using TestNG xml file

I have two testcases in two separate ...READ MORE

Jul 23, 2019 in Selenium by Jimmy
• 130 points
2,934 views
0 votes
1 answer

How to check whether a dropdown support selecting multiple options simultaneously or not in Webdriver?

Hi Shreeram, to determine whether a dropdown ...READ MORE

Jul 15, 2019 in Selenium by Anvi
• 14,150 points
3,243 views
0 votes
1 answer

Unable to send keys value inside my password field

Hey thanks for the input.. I found the ...READ MORE

Dec 19, 2018 in Selenium by Santhosh
12,229 views
+1 vote
1 answer

What is Appium and how it uses Selenium Webdriver?

Hey Drejina, Appium is an open source ...READ MORE

Jul 7, 2019 in Selenium by Martin
3,553 views
0 votes
1 answer

How to drag a web element using Selenium Webdriver?

Hey @Kritika, you can use Actions class ...READ MORE

Jul 2, 2019 in Selenium by Ashwin
3,740 views
0 votes
1 answer

How to run test cases in headless mode using Phantom JS?

Hi Bhanu, you can run test cases ...READ MORE

Aug 14, 2019 in Selenium by Abha
• 28,140 points
1,860 views