I want more sure, than my python selenium chrome will not detected. So, how i can avoide failed of these tests:
- https://bot.sannysoft.com/ CHR_MEMORY FAIL
- https://bot.incolumitas.com/ "inconsistentWebWorkerNavigatorPropery": "FAIL", "inconsistentServiceWorkerNavigatorPropery": "FAIL".
I read and used any helpfull recommendations like this,this or this but yet have no idea, how i can passed tests.
For CHR_MEMORY FAIL i used this:
driver.execute_script("Object.defineProperty(navigator, 'deviceMemory', {get: () => 8})")
or
driver.execute_cdp_cmd("Page.addScriptToEvaluateOnNewDocument", {
"source": """
Object.defineProperty(navigator, 'deviceMemory', {
get: () => Number(2)
});
"""
})
But both not work, however Fp-collect info points to "deviceMemory": 8. The rest of the tests my code passes successfully.
What mean this params from second tests set? WebWorkerNavigatorPropery ServiceWorkerNavigatorPropery How can i try to get around them too?
Any help is much appreciated