When I opened an open-sea link with the playwright, I got the message Error 1020 Access Denied. But it works with a normal browser, does anyone know how I can fix this problem? I have researched this problem, someone told me that open-sea may block automation browsers. Is there any way that I can bypass this? Example: https://opensea.io/assets/ethereum/0xf51bfc40c10289246e5bba7afedeb8cf976c3250/4045563695846915711900312409516322895108670705
This thread is trying to answer question "How can I bypass the Error 1020 Access Denied when opening an OpenSea link with the Playwright automation browser?"
await this.page.setExtraHTTPHeaders({ 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 14.1; rv:109.0) Gecko/20100101 Firefox/119.0', });
You could try with this one. I hope this helps! (Tested with Firefox)
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].