-
-
Notifications
You must be signed in to change notification settings - Fork 818
Description
🐛 Bug Report
Tests run alright when running it through chrome Selenium IDE
Tests aren't running using command line. It throws an error
TypeError: driver.manage(...).window(...).setRect is not a function
> 74 | await driver.manage().window().setRect({
I'm ran it both using my local machine as well as through a standalone chrome container
To Reproduce
running a test that contains an instruction to resize the window
Steps to reproduce the behavior:
Expected behavior
window is resized properly
Project file reproducing this issue (highly encouraged)
I can only drill it down to the setRect
. It seems that another implementation is expected
at Object.setRect [as 1. Go to site] (commons.js:74:34)
Please provide a project file .side
that reproduces this issue.
{
"id": "72635211-cd4c-462f-8716-d5bf2ac34022",
"version": "2.0",
"name": "Google",
"url": "https://www.google.com/",
"tests": [{
"id": "4cf2cc08-d74a-400d-be0e-04a3a91e16e4",
"name": "1. Go to site",
"commands": [{
"id": "f0058164-e229-4e04-881f-e30d0bf06e33",
"comment": "Go to site",
"command": "open",
"target": "/login",
"targets": [],
"value": ""
}, {
"id": "8ab5ef75-4107-415c-999a-8cacaa19b6b5",
"comment": "",
"command": "setWindowSize",
"target": "1440x900",
"targets": [],
"value": ""
}]
}],
"suites": [{
"id": "260f05a1-abda-4b8f-b5f8-25ebf5738f98",
"name": "Default Suite",
"persistSession": false,
"parallel": false,
"timeout": 300,
"tests": ["4cf2cc08-d74a-400d-be0e-04a3a91e16e4"]
}],
"urls": ["https://www.google.com/"],
"plugins": []
}
Environment
OS: OSX 10.14.2
Selenium IDE Version: 3.5.8
Selenium SIDE Runner Version: 3.5.9
Node version: 10.15.1
Browser: Chrome
Browser Version: 73.0.3683.86 (Official Build) (64-bit)
Also using Docker image: selenium/standalone-chrome:3.141.59-krypton
command used to run the tests
selenium-side-runner --server http://localhost:4444/wd/hub --debug ./myTestFile.side