FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
SeleniumBase/examples/raw_pixelscan.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_pixelscan.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (15 loc) · 675 Bytes
Breadcrumbs
SeleniumBase
/
examples
/
raw_pixelscan.py
Copy path
File metadata and controls
16 lines (15 loc) · 675 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
from
seleniumbase
import
SB
with
SB
(
uc
=
True
,
test
=
True
,
guest
=
True
)
as
sb
:
sb
.
activate_cdp_mode
(
ad_block
=
True
)
sb
.
goto
(
"https://pixelscan.net/fingerprint-check"
)
sb
.
remove_element
(
"div.header-ad"
)
sb
.
remove_element
(
"pxlscn-dynamic-ad"
)
sb
.
sleep
(
1.8
)
sb
.
assert_text
(
"No automated behavior"
,
"pxlscn-bot-detection"
)
sb
.
assert_text
(
"No masking detected"
,
"pxlscn-fingerprint-masking"
)
sb
.
assert_text
(
"consistent"
,
"span.status-success"
)
sb
.
sleep
(
0.5
)
sb
.
cdp
.
highlight
(
"span.status-success"
)
sb
.
cdp
.
highlight
(
"pxlscn-fingerprint-masking p"
)
sb
.
cdp
.
highlight
(
"pxlscn-bot-detection p"
)
print
(
"Bot Not Detected"
)
Back
|
FazBrowse Home
|
New Git URL