Skip to main content Skip to docs navigation

Window Command

Window specific command

On this page
Action
Element Finder Value
WindowCommand::Description
WindowCommand::closeClose current page (only works if opened via script, not manually).
WindowCommand::focusFocus the window/page.
WindowCommand::blurRemove focus from the window/page.
WindowCommand::printOpen the print dialog (Ctrl + P equivalent).
WindowCommand::stopStop loading the page.
WindowCommand::moveBy::x,yMove the window by x and y pixels.
WindowCommand::moveTo::x,yMove the window to x and y coordinates.
WindowCommand::open::https://getautoclicker.comOpen https://getautoclicker.com in a new tab.