I used to be able run custom function by appending to the _actions variable in ActionChain like below.
action = ActionChain(driver)
action._action.append(lambda: func())
It seems like now if drivers are w3c they are instead run by ActionBuilder object. The ActionBuilder class doesn't seem to have a singular queue to run actions in order like ActionChains. Anyone that is more familiar in selenium point me in the right direction?
from How to add custom functions to run in Selenium ActionChain/ActionBuilder?
No comments:
Post a Comment