html - How to paste text into the descrpition field on Shopify by using Python Selenium
Solution:
As per the snapshot provided:
the desired element is clearly with an an To send a character sequence within the desired element you have to: Induce WebDriverWait (https://stackoverflow.com/a/59130336/7429447) for the desired frame to be available and switch to it. Induce WebDriverWait (https://stackoverflow.com/a/52607451/7429447) for the desired element to be clickable. You can use either of the following locator strategies (https://stackoverflow.com/questions/48369043/official-locator-strategies-for-the-webdriver):
Solution
WebDriverWait(driver, 20).until(EC.frame_to_be_available_and_switch_to_it((By.CSS_SELECTOR,"iframe_css_selector")))
WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.ID, "product-description"))).send_keys("fddfdfdfdf")
Source
Didn't find the answer?
Our community is visited by hundreds of Shopify development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.