我正在学习 RobotFramework,我有一个简单的脚本:*** Settings ***Documentation Simple Amazon.in demoLibrary SeleniumLibrary*** Variables ***${MESSAGE} Hello, World*** Test Cases ***User must sign in to check out [Documentation] This is some basic info about the test [Tags] Smoke Open Browser http://www.amazon.in firefox Input text id=twotabsearchtextbox Ferrari 458 Click Button xpath=//div[@class='nav-search-submit nav-sprite']/input[@class='nav-input' and 1] Wait until page Contains results for "Ferrari 458" Click Link css=#result_0 a.s-access-detail-page Wait until Page Contains Back to search results for "Ferrari 458" Click Button id=add-to-cart-button Wait Until Page Contains 1 item added to Cart一切正常,但浏览器窗口没有最大化,请帮助我,我该怎么做。这是我的 pip 配置robotframework 3.1robotframework-requests 0.5.0robotframework-seleniumlibrary 3.2.0selenium 3.141.0
添加回答
举报
0/150
提交
取消