Talha

Results 3 comments of Talha

Facing the issue: waiting for: locator("[data-test-id=\"post-content\"]") whereas I have managed to fix the login by editing the values: page.locator('input[name="username"]').fill(settings.config["reddit"]["creds"]["username"]) page.locator('input[name="password"]').fill(settings.config["reddit"]["creds"]["password"]) page.locator('.login.button-brand').click()

> > Facing the issue: waiting for: locator("[data-test-id="post-content"]") Just hoping that they fix it ASAP.

> ![image](https://private-user-images.githubusercontent.com/59764708/255389676-65e435be-cb17-456c-aef6-2572b191d817.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDk5MTAyMDEsIm5iZiI6MTcwOTkwOTkwMSwicGF0aCI6Ii81OTc2NDcwOC8yNTUzODk2NzYtNjVlNDM1YmUtY2IxNy00NTZjLWFlZjYtMjU3MmIxOTFkODE3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAzMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMzA4VDE0NTgyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMxNTliYjE4YmNhZDU3M2FlNjQzNjg3ZTA1YzFkY2RiYzEwNjNkNzhhYmUzYzUzYTk2MmU1MTk4MzRlNWMzZGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.vt3CWQdV4za9ZeMS6Yc6_DuBKadohHYztv3FTTz3758) I'm getting the same error too In Python 3.x, urllib2 has been split into urllib.request and urllib.error. You should replace urllib2 with urllib.request and handle the exceptions using...