Answer the question
In order to leave comments, you need to log in
How to bypass site protection?
I'm writing a selenium script that, when a certain product appears, buys it. The problem occurs the moment I go to the cart after adding an item. The site assigns some anchor #old to the link and the url looks something like url.com/lala/la#old instead of url.com/lala/la . Apparently this was created to bypass scripts like mine. Indeed, without this anchor, there are no problems with the purchase, and with it, the xpath to the input fields changes and a captcha appears.
Already asked a similar question. Last time, this problem seemed to be partially solved by constantly changing the user-agent, although sometimes the changed link was loaded anyway. I fixed this with exception handling and just started the site over again until it gave me the desired version of the basket. But this time, I tried a lot of crutches, nothing helps. I have already started trying to work with a modified version of the site, tried different browsers, but all in vain. If anything, I go to the cart simply by passing this url to driver.get() .
Question: Do you have any thoughts on this? I would be very grateful for any answer.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question