Skip to content

click() -> untrusted input on brotector #165

@gsli97

Description

@gsli97

Hi,

when clicking the button on https://kaliiiiiiiiii.github.io/brotector/
-> the input gets detected as Input.untrusted.

Is there a way to evade this?

thanks and kind regards

Image
import asyncio
import zendriver as zd
async def main():
    browser = await zd.start()
    page = await browser.get("https://kaliiiiiiiiii.github.io/brotector/")

    await page.sleep(2)
    await page.wait_for("#clickHere", timeout=10000)
    element = await page.find("#clickHere")
    await element.click()

    await asyncio.Event().wait()

if __name__ == "__main__":
    asyncio.run(main())

Same counts for await element.mouse_click():

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions