FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
SeleniumFullCourse/test.java at master · Sanjaybhattwebkul/SeleniumFullCourse · GitHub
Sanjaybhattwebkul
/
SeleniumFullCourse
Public
Notifications
You must be signed in to change notification settings
Fork
3
Star
1
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
SeleniumFullCourse
/
test.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
37 lines (28 loc) · 775 Bytes
Breadcrumbs
SeleniumFullCourse
/
test.java
Copy path
File metadata and controls
37 lines (28 loc) · 775 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
TakesScreenshot
ss
= ((
TakesScreeshot
)
driver
).
getScreenshotAs
(
OutPutType
.
FILE
);
FileUtils
.
copyFile
(
ss
,
new
File
(
"path.png"
));
HttpURLConnection
conn
=
new
URL
(
href
).
openConnection
();
conn
.
setRequestMethod
(
"HEAD"
);
conn
.
connect
();
if
(
conn
.
getResponseMethod
()>
400
){
System
.
out
.
println
(
"this is broken link"
);
}
String
name
=
"SANJAY BHATT WEBKUL"
;
String
[]
nameArray
=
name
.
split
(
" "
);
for
(
int
i
=
nameArray
.
length
-
1
;
i
>=
0
;
i
--) {
System
.
out
.
print
(
nameArray
[
i
]+
" "
);
}
1
2
3
4
5
6
7
8
9
int
[]
metrix
= {{
1
,
2
,}, {
4
,
5
,
6
},{
7
,
8
,
9
}}
int
[]
nim
=
metrix
[
0
][
0
];
int
minRow
=
0
;
for
(
int
i
=
0
;
i
<
3
;
i
++) {
for
(
int
j
=
0
;
j
<
3
j
++) {
if
(
metrix
[
i
][
j
]>
min
) {
min
=
metrix
[
i
][
j
]
minRow
=
j
;
}
}
}
System
.
out
.
print
(
min
);
Back
|
FazBrowse Home
|
New Git URL