Trending questions in Selenium

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,667 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
1,858 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
4,817 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,208 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,027 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,158 views
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
3,621 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
1,903 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,132 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,416 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
4,897 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,682 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,131 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
3,968 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,096 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,420 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,670 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,164 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
4,832 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,547 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,393 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,389 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,649 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,627 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
5,868 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,168 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,681 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
3,936 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
5,897 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,468 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,234 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
2,991 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,121 views
0 votes
1 answer
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,801 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,758 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,116 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,357 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
3,897 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,346 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,416 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,352 views
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,123 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,014 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,562 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,677 views
0 votes
0 answers

How do you get all the child elements in Selenium WebDriver?

I'm currently working on Selenium with Python. ...READ MORE

Jul 15, 2019 in Selenium by Vaishnavi
• 1,180 points
2,994 views
0 votes
1 answer

How to capture source code of a webpage in Selenium using Python?

Hi Hansika, you can capture the source ...READ MORE

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

Which webdriver implimentation is fastest in Selenium Webdriver and why?

Hi Isaac, HTMLUnit Driver implementation is fastest, as ...READ MORE

May 29, 2019 in Selenium by Abha
• 28,140 points
4,917 views
0 votes
1 answer

Can anyone help me with Zomato login test script using Python Selenium Webdriver?

Hi Laxmikant, if you want to write ...READ MORE

Jul 29, 2019 in Selenium by Anvi
• 14,150 points
2,232 views