Replace browser.setWindowSize/browser.resizeWindow with browser.window.setSize/browser.window.resize in Nightwatch.js testing

Created on 29 November 2024, 4 months ago

Problem/Motivation

According to TypeScript type definition file in the Nightwatch.js, browser.setWindowSize() / browser.resizeWindow() are labeled deprecated in JSDoc and in favor of using browser.window.setSize() / browser.window.resize().

Proposed resolution

Replace all of browser.setWindowSize() / browser.resizeWindow() with browser.window.setSize() / browser.window.resize().

Remaining tasks

User interface changes

No.

API changes

No.

Data model changes

No.

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component

javascript

Created by

πŸ‡―πŸ‡΅Japan tom konda Kanagawa, Japan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024