Complete the code to create an ActionChains object for the driver.
from selenium.webdriver import ActionChains actions = ActionChains([1])
The ActionChains object must be created with the WebDriver instance, which is usually named driver.
Complete the code to perform a click on the element using ActionChains.
actions.click([1]).perform()The click() method requires the target element to click on.
Fix the error in the code to move to the element and click it.
actions.move_to_element([1]).click().perform()The move_to_element() method requires the target element to move the mouse to.
Fill both blanks to drag the source element and drop it on the target element.
actions.drag_and_drop([1], [2]).perform()
The drag_and_drop() method requires the source element and the target element as arguments.
Fill all three blanks to build an action chain that moves to an element, clicks and holds it, then releases it.
actions.[1]([2]).[3]().release().perform()
click() instead of click_and_hold().move_to_element().This chain moves the mouse to the element, clicks and holds it, then releases it.