Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 30505

JavaScript is a dialect of the standardized ECMAScript programming language, primarily used for scripting web-pages.

2 votes
1 answer
280 views

Scrollbar value returns false even though it is present

I have a pop up which enables a scroll bar depending on the element count it contains. Right now there are more than two elements and scroll bar is present. Below is my html view of the pop up. <div c …
Darshani Kaushalya's user avatar
0 votes
1 answer
86 views

Different boolean results for same scenario - selenium java

I'm trying to verify whether profile image is present after uploading an image. Image uploads successfully. I have try to verify image with two different ways. profileImage= driver.findElement(By.xpat …
Darshani Kaushalya's user avatar
0 votes

Button click was not performed even though element was found

Issue resolved after adding a button availability check and increasing wait time. WebElement continueBtn = driver.findElement(By.xpath("//span[text()='CONTINUE']")); if(continueBtn.is …
Darshani Kaushalya's user avatar
0 votes
Accepted

Getting javascript error: element is not defined

The issue was as mentioned in the error. I was using an undefined element. element should be a web element not a constant. All I had to do locate web element using selenium and get all css styles rela …
Darshani Kaushalya's user avatar
2 votes
1 answer
293 views

Verifying scrollbar is present script fails

I'm trying to check whether a scrollbar is present when there are more than 2 elements in a pop up. Here is the HTML code for the div which enables the scroll bar if when there are more than 2 element …
Darshani Kaushalya's user avatar
0 votes
1 answer
137 views

Element is not clicked even after explicit wait

I am trying to verify default selected value of a dropdown. <div class="p-3 p-md-4 mt-4 mt-md-4 card"><div class="row"><div class="d-flex align-items-center col-md-6"><img class="jss2475" src="https:/ …
Darshani Kaushalya's user avatar
0 votes
2 answers
587 views

Button click was not performed even though element was found

I'm trying to click below button. <button class="MuiButtonBase-root MuiButton-root jss47 jss58 MuiButton-contained jss48 jss59 MuiButton-containedPrimary MuiButton-disableElevation" tabindex="0" type= …
Darshani Kaushalya's user avatar
-2 votes
1 answer
4k views

Getting javascript error: element is not defined

I am using JavaScript to check CSS styles. … //Assert.assertTrue(result); //return new Master Banner page object return new MasterBannerPage(); } Error: org.openqa.selenium.JavascriptException: javascript
Darshani Kaushalya's user avatar