#๐Ÿ”’ Clicking with selenium

29 messages ยท Page 1 of 1 (latest)

wispy oracleBOT
#

@toxic stratus

Python help channel opened

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.

toxic stratus
#

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.

rose pecan
#

do you get an error or does it do nothing?

lunar nacelle
# toxic stratus

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=""]'

toxic stratus
#

i got it working

lunar nacelle
#

Nice

toxic stratus
#

now

#

im trying to make it click the dropdown

#

and select one of those reasons

warm river
#

!rule 5

wispy oracleBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

toxic stratus
#

its not violating tos

#

are you sped

#

the script

#

reports

#

things

#

violating tos

#

๐Ÿคฆ

#

on roblox

warm river
#

You're automating access to the Roblox website and that's against their ToS

#

Why would you need to automate that anyways?

wispy oracleBOT
#
Python help channel closed

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.