问题标签 [helium]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
25 浏览

python - Python使用氦在浏览器中打开新标签

您好,我正在尝试使用氦气在浏览器中打开新标签。我试过这个没有成功:

我在https://selenium-python-helium.readthedocs.io/en/latest/api.html?highlight=上真的找不到任何有用的东西

0 投票
1 回答
28 浏览

python-3.x - Helium 的 API:无法选择的选择列表选项

学习氦自动化;

我无法使用单击或悬停并单击来选择列表选项。有什么解决办法吗?

例如;

https://bigcrewnow.in/product/iphone-5s-32gb/ - 在页面中有一个颜色选项,可以选择“银色”或任何其他选项;我无法被选中...

0 投票
0 回答
20 浏览

selenium - Helium/Selenium Headless browser problem on Centos8

I have been successfully testing this piece of python3 code to automate a login process via helium, on my macbook

It works as intended. When I run it on the terminal, it opens up chrome and follows the instructions. But when I try to run the same code on my centos8 vps server(i have installed exactly the same chrome version and helium version) I encounter a problem.

I try running the same code with -headless parameter

It doesn't log in at all. At the moment I remove headless and sandbox

I get

I was thinking maybe I should install desktop version of centos on my vps? Has anyone encountered this scenario before, if so what was the solution you went with?

Thank you

0 投票
0 回答
13 浏览

helium - 如何进行 Helium 控制台自定义脚本 API 调用?

我想知道如何使用自定义脚本在氦控制台中进行自定义 api 调用。我已经构建了脚本,并使用带有示例有效负载的“脚本验证器”进行了 API 调用,并且我在后端收到了请求,但是每当我尝试使用来自的流中的调用运行相同的脚本时没有收到设备按钮按下。我究竟做错了什么?

希望这些图片能提供更多的理解:在给出有效调用的脚本验证器下方 在此处输入图像描述

在未发出有效调用的流程下方: 在此处输入图像描述