如何在 UNIX 虚拟机中使用 robotframework-selenium2library 启动浏览器?
How to do browser launch using robotframework-selenium2library in an UNIX vm?
我想在远程 Linux VM 中启动无头浏览器或无头浏览器,但我正在使用与远程 Linux VM 的 SSH 连接来执行此操作。使用 robotframework-selenium2library 在远程 Linux VM 中启动 google.com 的最佳方法是什么?
我能够使用以下软件包解决此问题 xvfbwrapper robot framework-xvfb robotframework-selenium2library
*** Settings ***
Documentation This example demonstrates how to use current library
Library Selenium2Library
Library XvfbRobot
*** Test Cases ***
Create Headless Browser Start Virtual Display 1920 1080
Open Browser google.com
Set Window Size 1920 1080
${title}= Get Title Should Be Equal Google {title}
[Teardown] Close Browser
我想在远程 Linux VM 中启动无头浏览器或无头浏览器,但我正在使用与远程 Linux VM 的 SSH 连接来执行此操作。使用 robotframework-selenium2library 在远程 Linux VM 中启动 google.com 的最佳方法是什么?
我能够使用以下软件包解决此问题 xvfbwrapper robot framework-xvfb robotframework-selenium2library
*** Settings ***
Documentation This example demonstrates how to use current library
Library Selenium2Library
Library XvfbRobot
*** Test Cases ***
Create Headless Browser Start Virtual Display 1920 1080
Open Browser google.com
Set Window Size 1920 1080
${title}= Get Title Should Be Equal Google {title}
[Teardown] Close Browser