Trending questions in Selenium

0 votes
2 answers

How to read OTP in JAVA Selenium using android phone

Try the following: Step 1: Connect the Phone/Dongle ...READ MORE

Oct 7, 2020 in Selenium by Karan
• 19,610 points
5,402 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
36,271 views
0 votes
1 answer

How to scroll up/down a page using Actions class in Selenium?

Hi Naetik, you can use the Actions ...READ MORE

Jul 5, 2019 in Selenium by Anvi
• 14,150 points
20,798 views
+1 vote
1 answer

In Excel handling how is it that we call getRow() without creating object of XSSFSheet class.

In Excel file handling using Apache POI, ...READ MORE

Oct 7, 2020 in Selenium by Karan
• 19,610 points
856 views
0 votes
1 answer

Login test for Gmail with Cucumber and Selenium Webdriver

Hi Devendra, following feature-file shows the scenario ...READ MORE

Aug 5, 2019 in Selenium by Abha
• 28,140 points
19,479 views
0 votes
1 answer

How to open new tab in same browser and switch between them using Selenium?

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

May 24, 2019 in Selenium by Abha
• 28,140 points
22,488 views
+1 vote
0 answers

Getting a stale element Exception

              ...READ MORE

Sep 16, 2020 in Selenium by sandhya
• 180 points

edited Sep 16, 2020 by Gitika 1,593 views
+1 vote
0 answers

Not able to select multiple value from drop down the code has Div tag and need to read the values from Excel using Data Provider

Element Utils which has the method: Can some ...READ MORE

Sep 15, 2020 in Selenium by sandhya
• 130 points
1,639 views
+1 vote
1 answer

How can Selenium select each div separately that have the same class

Hi Surya, you have already got the ...READ MORE

Mar 14, 2019 in Selenium by Vaishnavi
• 1,180 points
25,387 views
+1 vote
0 answers

i want to automate below secaniro using testng and pom but using below code i am only able to open facebook directlt but what i want to do is i wantto open chrome and then navigate to facebook

Open a Chrome browser. Navigate to “http://www.facebook.com," Verify that ...READ MORE

Sep 23, 2020 in Selenium by anonymous
• 410 points
1,182 views
+1 vote
1 answer

where we are using delegates in selenium automation testing

Hello @Sri , Delegates are similar to pointers available ...READ MORE

Aug 26, 2020 in Selenium by Niroj
• 82,840 points

edited Jul 19, 2023 by Khan Sarfaraz 2,293 views
+1 vote
1 answer

How to handle drop down having SPAN Tags. Please help me.

Hi can u try this once. Select select ...READ MORE

Jun 3, 2020 in Selenium by Sri
• 3,190 points
6,022 views
+1 vote
0 answers

Hello i have written below code to verify title using POM method but i am not able to print please help me

public static void verifytitle() { String Createanewaccounttttt=driver.getTitle(); System.out.println("Title is"+Createanewaccounttttt); String excepted_title="Create ...READ MORE

Sep 24, 2020 in Selenium by Jordan
• 410 points
903 views
0 votes
1 answer

hello i am valdating facebook page i have wrriten below code ingu button but it is not clicking on buttons

Hey @Jordan, What's the error you are ...READ MORE

Sep 28, 2020 in Selenium by Karan
• 19,610 points
707 views
0 votes
1 answer

Is there any way to load an extension in chrome browser using Selenium Webdriver?

Hey Harsha, you can load an extension ...READ MORE

Jun 4, 2019 in Selenium by Rishabh
21,471 views
+1 vote
0 answers

I am trying to perform data driven testing in TestNG. But I am getting error?

I am trying to perform data driven ...READ MORE

Sep 6, 2020 in Selenium by akshay
• 130 points
1,559 views
0 votes
1 answer

How to solve this warning? The constructor ChromeDriver(capabilities) is deprecated.

Since ChromeDriver(service, capabilities) is deprecated now as well, you ...READ MORE

Jun 8, 2020 in Selenium by Kim
5,450 views
+1 vote
2 answers

How can I delete an element in Selenium using Python?

You can directly delete the node using ...READ MORE

Sep 14, 2019 in Selenium by tonystark
• 500 points
20,313 views
0 votes
2 answers

headless browser vs real browser

I would say prefer Headless browser over ...READ MORE

Aug 31, 2020 in Selenium by Sirajul
• 59,230 points
1,370 views
0 votes
1 answer

While running it is not recognizing the xpath

There are two parts to this. The ...READ MORE

Aug 3, 2020 in Selenium by Kim
2,556 views
0 votes
1 answer

Which of the following options can be used to move to the main menu option and then sub option through action method in webdriver

Hello @ naresh, With the actions object you should ...READ MORE

Jul 24, 2020 in Selenium by Niroj
• 82,840 points
2,934 views
0 votes
1 answer

Run chrome browser in inconginto Mode in Selenium

One other way to launch Chrome in ...READ MORE

Jul 31, 2018 in Selenium by Meci Matt
• 9,460 points
34,142 views
0 votes
2 answers

selenium xpath and id

id mean direct interacting with element like ...READ MORE

Sep 3, 2020 in Selenium by Sri
• 3,190 points
1,611 views
0 votes
0 answers

How to get size of email in inbox of Gmail account

Please help. READ MORE

Sep 11, 2020 in Selenium by Akanksha
• 120 points
677 views
0 votes
1 answer

Automate Inputing SQL queries in textbox in a website using python selenium

Concatenate the queries as a string....and send ...READ MORE

Aug 31, 2020 in Selenium by Ananda Chakroborthy
1,107 views
+1 vote
0 answers

Using the Selenium WebDriver, Unable to launch chrome browser on Mac

Attached screenshot of code and execution consoleI ...READ MORE

Nov 21, 2019 in Selenium by Reshmi
• 130 points
13,297 views
0 votes
0 answers

how to do search name and drag and drop in hybrid frame work java selenium?

i have to do following things first i ...READ MORE

Sep 10, 2020 in Selenium by anonymous
• 120 points
657 views
+1 vote
1 answer

In selenium Can we interact with browsers directly without using browsers web drivers like codedui

As per my understanding of your query, ...READ MORE

Aug 20, 2020 in Selenium by Sirajul
• 59,230 points
1,422 views
0 votes
1 answer

Is navigate method available in selenium webdriver with python??

The line of code which you have ...READ MORE

Jul 28, 2020 in Selenium by Sirajul
• 59,230 points
2,439 views
0 votes
1 answer

i know loosely coupled and highly cohesive

Check this out https://dzone.com/articles/microservice-testing ...READ MORE

Sep 1, 2020 in Selenium by Kim
949 views
0 votes
0 answers

In web automation(selenium+python) when running code without a headless working fine but with headless{chrome} it navigates to the unexpected page?

Using Python/selenium running without headless mode is ...READ MORE

Jun 15, 2020 in Selenium by Raghvir
• 170 points
4,294 views
0 votes
1 answer

Does cypress support api automation testing also?

When it comes to using Cypress, many ...READ MORE

Aug 31, 2020 in Selenium by Kim

edited Jul 19, 2023 by Khan Sarfaraz 942 views
0 votes
2 answers

What is the best way to handle a Javascript popup using Selenium Webdriver?

webDriver.switchTo().alert() it inbuild selenium only //Store the alert ...READ MORE

Sep 3, 2020 in Selenium by Sri
• 3,190 points
11,133 views
0 votes
1 answer

How test runner prioritize test classes for execution.

Hello @Sri, TestNG is a Testing framework, that ...READ MORE

Aug 24, 2020 in Selenium by Niroj
• 82,840 points
1,227 views
0 votes
1 answer

Eclipse won't run Chrome v84 with JUnit

Have you set the system property to ...READ MORE

Aug 26, 2020 in Selenium by Sirajul
• 59,230 points
1,076 views
+1 vote
0 answers

Want to rotate image infinite on active webpage using java and selenium

Hi I need to rotate image infinite ...READ MORE

Aug 28, 2020 in Selenium by mfarooq
• 130 points
885 views
0 votes
0 answers

XPATH FOR DYNAMIC DROP DOWN

Hi all, I am facing some challenges in ...READ MORE

Jul 12, 2020 in Selenium by MOHAMMED
• 120 points
2,789 views
+2 votes
1 answer

How to fetch the text of a web element where the text is split in 2 lines?

Hello, You want to use a non-breaking space ...READ MORE

May 28, 2020 in Selenium by Niroj
• 82,840 points
4,583 views
+1 vote
1 answer

how to automate google Signup form in selenium using python

Try the following code:  from selenium.webdriver import Chrome, ...READ MORE

Mar 23, 2020 in Selenium by Sirajul
• 59,230 points
7,431 views
0 votes
1 answer

How to use a specific chrome profile in selenium?

User profiling is the term used for ...READ MORE

Dec 24, 2018 in Selenium by Shuvodip
27,068 views
0 votes
1 answer

getting java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property

Hi Sivaranjani, to resolve your issue, Driver path ...READ MORE

Sep 3, 2019 in Selenium by Abha
• 28,140 points
16,096 views
0 votes
2 answers

How to scroll the Page up or down in Selenium WebDriver? (using java)

JavascriptExecutor jsx = (JavascriptExecutor)driver; jsx.executeScript("window.scrollBy(0,555)", ""); or Action classes ...READ MORE

Sep 6, 2020 in Selenium by Sri
• 3,190 points
19,204 views
0 votes
0 answers

How to do DataDriven testing in specflow api

How to do DataDriven testing in specflow ...READ MORE

Aug 15, 2020 in Selenium by Sri
• 3,190 points
1,131 views
0 votes
1 answer

How to Handle alerts like Irctc alert in selenium?

Hello  karthik, Handling alerts manually is a tedious task. ...READ MORE

Jun 29, 2020 in Selenium by Niroj
• 82,840 points
3,127 views
0 votes
0 answers

python selenium find element search class and text and Repetition

def ref(self): while True: ...READ MORE

Jun 14, 2020 in Selenium by anonymous
• 120 points
3,692 views