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 18961

Questions about testing applications written in Java or test automation written in Java, a popular programming language and runtime environment which allows Java programs to run unchanged on most hardware and software platforms.

2 votes

How Do I iterate through all the search results in Selenium returned by google search

I have checked the first two results and the locator is same. So you can create a List of these elements by using FindElements method. And then put logic to create list of only matching Strings out …
SRM21's user avatar
  • 299
3 votes

if/else condition is not working as expected

Note : I am giving my suggestion in Answer as I do not have sufficient reputation to be able to comment. First do not use thread sleep. Second put some implicit or explicit wait between your element …
SRM21's user avatar
  • 299
0 votes
1 answer
635 views

Facing challenges to run java selenium tests with gitlab runner

ports: - "4442:4442" - "4443:4443" - "4444:4444" java-maven: image: maven:3.8-openjdk-11 When I tried with below gitlab-ci.yml variables: MAVEN_OPTS: "-Dmaven.repo.local … So I tried to run it inside the java-maven service by changing snippet of script section in the above yml with the below snippet: docker run -it --rm -v "$(pwd)":/opt/maven -w /opt/maven maven:3.8-openjdk …
SRM21's user avatar
  • 299