#๐ Clicking with selenium
29 messages ยท Page 1 of 1 (latest)
@toxic stratus
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
thast the button i want to click
copied by XPATH
element = driver.find_element(By.XPATH, value='//*[@id="user-agreements-checker-modal"]/div/div/div[3]/div[2]/button')
element.click()
this just doesnt work for some reason.
do you get an error or does it do nothing?
the xpath u have is not finding the class or a button. Its looking for a ID.
Enter the class name inside this:
'//button[@class=""]'
i got it working
Nice
!rule 5
5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.
its not violating tos
are you sped
the script
reports
things
violating tos
๐คฆ
on roblox
You're automating access to the Roblox website and that's against their ToS
Why would you need to automate that anyways?
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.