Most voted questions in Selenium

0 votes
1 answer

import org.openqa.selenium.* shows compilation error - The package org.openqa.selenium is not accessible even though I have added the external jar files in the class path.

Here's what you can try  Either keep only selenium-server-standalone-3.141.59.jar as ...READ MORE

Oct 7, 2020 in Selenium by Karan
• 19,610 points
40,284 views
0 votes
1 answer
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
476 views
0 votes
0 answers

Getting Java Null Pointer Exception on running the test case in Seleniumn.Can someone pls let me know where i need to fix in order to progress

Below is the Error: java.lang.RuntimeException: java.lang.NullPointerException at org.testng.internal.MethodInvocationHelper.invokeMethodNoCheckedException(MethodInvocationHelper.java:49) at org.testng.internal.MethodInvocationHelper.invokeDataProvider(MethodInvocationHelper.java:131) at ...READ MORE

Sep 11, 2020 in Selenium by sandhya
• 180 points
12,239 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
393 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
318 views
0 votes
1 answer
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
849 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
657 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 651 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
814 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
819 views
0 votes
1 answer

I am trying to launch browser using testng but not able to execute. Please help me solving this error

Please check your chrome version, launch with ...READ MORE

Aug 25, 2020 in Selenium by Pramod
• 160 points
3,985 views
0 votes
1 answer

I am not able to generate extent report with screenshot in selenium cucumber java .. Please help me out

Hello @kanikahans, You need to define Extent Report ...READ MORE

Aug 24, 2020 in Selenium by Niroj
• 82,880 points
7,866 views
0 votes
1 answer

How test runner prioritize test classes for execution.

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

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

How Test Runners interacting with main method

 As main() method is needed to run the ...READ MORE

Aug 24, 2020 in Selenium by Niroj
• 82,880 points
2,450 views
0 votes
1 answer

How to do DataDriven testing in specflow api

The following link gives an explanation of ...READ MORE

Aug 17, 2020 in Selenium by Lindsy
862 views
0 votes
1 answer

How to open chrome default profile with selenium?

Try the following code. System.setProperty("webdriver.chrome.driver","C:\\chromedriver.exe"); ChromeOptions options = new ...READ MORE

Aug 12, 2020 in Selenium by Sirajul
• 59,230 points
23,005 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,290 views
0 votes
1 answer

Some scenarios require reboot computer in the middle of their running

You might have to probably call a command-line ...READ MORE

Aug 6, 2020 in Selenium by Sirajul
• 59,230 points
602 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
1,926 views
0 votes
0 answers

Getting Error

String tittle=driver.getTitle(); String currenturl=driver.getCurrentUrl(); System.out.println(tittle); System.out.println(currenturl); WebElement withgoogle = driver.findElement(By.xpath("//div[contains(text(),'Continue with ...READ MORE

Jul 30, 2020 in Selenium by Sahil
• 120 points
497 views
0 votes
1 answer

Which exception is raised when an element is not found in an HTML DOM using XPath

Hey, A stale element reference exception is thrown in one of two cases If ...READ MORE

Jul 30, 2020 in Selenium by Sirajul
• 59,230 points
10,317 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
1,869 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,880 points
2,411 views
0 votes
1 answer

Unable to select check with locators, please suggest

Hello, Check Boxes and Radio Button deals exactly the same way ...READ MORE

Jul 22, 2020 in Selenium by Niroj
• 82,880 points
498 views
0 votes
0 answers

org.openqa.selenium.ElementClickInterceptedException Selenium WebDriver Java

Hello, My execution does clicks on webelement as ...READ MORE

Jul 21, 2020 in Selenium by sainiranjan
• 120 points
12,484 views
0 votes
1 answer

How do I play a thumbnail video for a particular product eg. mobile on flipkart site?

Automating video streaming is a bit challenging ...READ MORE

Jul 28, 2020 in Selenium by Sirajul
• 59,230 points
871 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,272 views
0 votes
3 answers

How to stop a page loading from selenium in chrome?

Hi Savan, Setting the pageLoadStrategy capability to none. Then wait for ...READ MORE

Jul 7, 2020 in Selenium by Suhana

edited Jul 7, 2020 6,473 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,880 points
2,490 views
0 votes
0 answers
0 votes
4 answers

How to close login pop up message in Selenium Webdriver?

did you find solution for this? READ MORE

Nov 5, 2020 in Selenium by anonymous

reshown Nov 5, 2020 by Sirajul 5,017 views
0 votes
1 answer

How o create testNG sample code?

Hey @Anjum, Check this out. It will ...READ MORE

Jun 18, 2020 in Selenium by Sirajul
• 59,230 points
460 views
0 votes
0 answers

I cannot click on the last element and i have been trying for hours PLEASE HELP!!!

from selenium import webdriver from selenium.webdriver.chrome.options import Options from ...READ MORE

Jun 18, 2020 in Selenium by Justin
• 140 points

recategorized Jun 18, 2020 by Gitika 675 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
3,409 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,219 views
0 votes
0 answers

Can you please help me set up a adobe flash framework for selenium/visual studio?

Jun 12, 2020 in Selenium by anonymous
• 120 points
447 views
0 votes
0 answers

Selector only working after inspecting/selecting element (selenium)

I work on selenium with java and ...READ MORE

Jun 11, 2020 in Selenium by Arwa
• 120 points
1,669 views
0 votes
1 answer

How can I run test cases in parallel using Keyword Driven Framework?

One solution to try for executing test ...READ MORE

Jun 29, 2020 in Selenium by Alexander
2,301 views
0 votes
0 answers

I want to extract status code of page objects like images or any content.

My webpage loaded successfully, but there are ...READ MORE

Jun 8, 2020 in Selenium by Upma
• 120 points
452 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
4,610 views
0 votes
1 answer

I am getting the error while running JUnit test case with java PL. Could you help me out.

I had the same issue. I resolved ...READ MORE

Jun 5, 2020 in Selenium by Samaira
3,031 views
0 votes
1 answer

Isn't it Possible to solve this issue with the latest version like jdk v14?

This might probably indicate a mistake in the ...READ MORE

Jun 5, 2020 in Selenium by kim
587 views
0 votes
0 answers

TypeError: 'str' object is not callable

Hi , I am working selenium 4.0 , ...READ MORE

May 27, 2020 in Selenium by priya
• 120 points
2,390 views