Skip to content
This issue has been moved to a discussionGo to the discussion

What's the best way to press the cloudflare box with this?? #319

@WillfulDeceit

Description

@WillfulDeceit
          if len(iframes) > 0:
          iframe_document = iframes[0]
          loc = await iframe_document.location
          center = await driver.execute_script('return Math.floor(document.body.clientWidth / 2)')

          cookies = await driver.get_cookies()

          await p.click(x_or_elem=center - 110, y=loc['y'] + 72 + 10)

I do this, anyone got any better ideas? It misses sometimes

Activity

Repository owner locked and limited conversation to collaborators on Mar 9, 2025
converted this issue into a discussion #320 on Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @WillfulDeceit

        Issue actions

          What's the best way to press the cloudflare box with this?? · Issue #319 · kaliiiiiiiiii/Selenium-Driverless