显示Instagram搜索弹出

发布于 2025-01-22 19:45:50 字数 375 浏览 2 评论 0原文

我需要单击Instagram搜索输入以显示 一个显示了结果弹出窗口,但没有尝试。

document.querySelector('[class=" QY4Ed P0xOK"] > input').click()

谁能帮我完成这项任务?

我只需要触发鼠标单击,我不需要输入任何文本。

I need to click on instagram search input to display
one show the results popup, but neither attempt worked.

document.querySelector('[class=" QY4Ed P0xOK"] > input').click()

can anyone help me with this task?

Instagram

I just need to trigger a mouse click, I don't need to type any text.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

暗地喜欢 2025-01-29 19:45:50

您可以使用 $ r 使用 react devtool扩展

”在此处输入图像描述”

触发器:

$r.setState({hasFocus:true})

You can do it using $r with the react devtool extension

enter image description here

trigger:

$r.setState({hasFocus:true})
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文