9/6/2023 0 Comments Browser selection page![]() ![]() # Clicks the button using an Selenium ActionChains # Would click element with CTLR and ALT keys pressed down. # Would click element with CTLR key pressed down. # Would click element without any modifiers. If both action_chain and modifier are defined, the click will be performed using modifier and action_chain will be ignored. If action_chain argument is true, see Boolean arguments for more details on how to set boolean argument, then keyword uses ActionChain based click instead of the. If modifier does not match to Selenium Keys, keyword fails. The modifier is space and case insensitive, example "alt" and " aLt " are supported formats to ALT key. The CTRL is internally translated to the CONTROL key. The + can be used as a separator for different Selenium Keys. The modifier argument can be used to pass Selenium Keys when clicking the element. See the Locating elements section for details about the locator syntax. Support for EMBED is new in SeleniumLibrary 4.2Ĭlick the element identified by locator. Indices start from 1, and how they are represented can be customized using Python's format string syntax.Īn absolute path to the created screenshot file is returned or if filename equals to EMBED, word EMBED is returned. Starting from SeleniumLibrary 1.8, if filename contains marker, it will be automatically replaced with an unique running index, preventing files to be overwritten. In this case file is not created in the filesystem. If filename equals to EMBED (case insensitive), then screenshot is embedded as Base64 image to the log.html. If the directory is not configured, screenshots are saved to the same directory where Robot Framework's log file is written. The directory where screenshots are saved can be set when importing the library or by using the Set Screenshot Directory keyword. ![]() Arguments Argumentįilename argument specifies the name of the file to write the screenshot into. Takes a screenshot of the current page and embeds it into a log file. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |