FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
SeleniumBase/examples/raw_detection.py at master · seleniumbase/SeleniumBase · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
seleniumbase
/
SeleniumBase
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
1.6k
Star
13k
Code
Issues
14
Pull requests
0
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
SeleniumBase
/
examples
/
raw_detection.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
12 lines (11 loc) · 413 Bytes
Breadcrumbs
SeleniumBase
/
examples
/
raw_detection.py
Copy path
File metadata and controls
12 lines (11 loc) · 413 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
"""The Brotector CAPTCHA in action."""
from
seleniumbase
import
SB
with
SB
(
test
=
True
)
as
sb
:
sb
.
goto
(
"https://seleniumbase.io/antibot/login"
)
sb
.
highlight
(
"h4"
,
loops
=
6
)
sb
.
type
(
"#username"
,
"demo_user"
)
sb
.
type
(
"#password"
,
"secret_pass"
)
sb
.
click_if_visible
(
"button span"
)
sb
.
highlight
(
"label#pText"
)
sb
.
highlight
(
"table#detections"
)
sb
.
sleep
(
4.4
)
# Add time to read the table
Back
|
FazBrowse Home
|
New Git URL