i had read this page Can a website detect when you are using selenium with chromedriver? and i follow the steps in that, but when i finish replace $cdc_lasutopfhvcZLmcfl
to whatever_var
, i can't lunch chrome by the driver edited, when i try to lunch it i got an error like this The application was unable to start correctly (0xc000007b)
it's that because the driver version i used with ChromeDriver 2.36.540470
?
when i edit driver in vim after searching the var $cdc_lasutopfhvcZLmcfl
,
i find the source code was different with the page i mentioned before, it look like this:
function getPageCache(opt_doc, opt_w3c) {
var doc = opt_doc || document;
var w3c = opt_w3c || false;
var key = '$cdc_asdjflasutopfhvcZLmcfl_';
if (w3c) {
if (!(key in doc))
doc[key] = new CacheWithUUID();
return doc[key];
} else {
if (!(key in doc))
doc[key] = new Cache();
return doc[key];
}
}
any suggestion please ?
When replacing '$cdc_lasutopfhvcZLmcfl', you must make sure to replace it with a string of the same length (and probably the same structure too). So, you would want to use a replacement that would look like this: '$sws_01234567890123456'. All together, 17 chars after the underscore.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With