You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the newly added feature of adding slurs via right click does not have an automated script to test. Adding it would allow us to test that feature when new features are added.
Especially the click_and_hold() (For seleciton), context_click() (For right click) and move_by_offset(x,y) (for dragging cursor to select)
Thus, if you know the element (defined as 'ele' below) in which the text is present, the line to select some word in it would go something like the following:
# create action chain objectaction=ActionChains(driver)
# selecting the itemaction.click_and_hold(on_element=ele).move_by_offset(30,0).release().context_click().perform()
The text was updated successfully, but these errors were encountered:
Currently the newly added feature of adding slurs via right click does not have an automated script to test. Adding it would allow us to test that feature when new features are added.
I believe the action chains of selenium can be useful in creating a script for the same: https://www.selenium.dev/selenium/docs/api/py/webdriver/selenium.webdriver.common.action_chains.html
Especially the
click_and_hold()
(For seleciton),context_click()
(For right click) andmove_by_offset(x,y)
(for dragging cursor to select)Thus, if you know the element (defined as 'ele' below) in which the text is present, the line to select some word in it would go something like the following:
The text was updated successfully, but these errors were encountered: