Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CRIO_BYTES
SELENIUM
me_selenium_waits
Commits
45687abb
Commit
45687abb
authored
2 years ago
by
Nabhan Abdulla P V
💬
Browse files
Options
Download
Email Patches
Plain Diff
Update Waits/lib/src/main/java/webActions/Wait.java
parent
206f798b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
18 deletions
+0
-18
Waits/lib/src/main/java/webActions/Wait.java
Waits/lib/src/main/java/webActions/Wait.java
+0
-18
No files found.
Waits/lib/src/main/java/webActions/Wait.java
View file @
45687abb
...
...
@@ -54,24 +54,6 @@ public class Wait {
buttonDisappear
.
click
();
}
public
static
void
snippet3
(
WebDriver
driver
)
throws
InterruptedException
{
WebDriverWait
webDriverWait
=
new
WebDriverWait
(
driver
,
30
);
// TODO: Type webDriverWait.wait to find the wait() overloads
}
public
static
void
snippet3_1
(
WebDriver
driver
)
throws
InterruptedException
{
// 1. Open the web page
driver
.
get
(
"https://web-locators-static-site-qa.vercel.app/Wait%20onTime"
);
// 2. Find the element with class "upload". This is the “Click to make me
// Disappear” button
WebElement
buttonToClick
=
driver
.
findElement
(
By
.
className
(
"upload"
));
// 3. Click on the element
buttonToClick
.
click
();
}
public
static
void
snippet4
(
WebDriver
driver
)
{
driver
.
manage
().
timeouts
().
implicitlyWait
(
10
,
TimeUnit
.
SECONDS
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment