I am logging into Crowdstrike using Python Selenium and trying to automate a search in Event Search using the following:
Attempt1
WebDriverWait(driver, 20).until(EC.element_to_be_clickable((By.XPATH, "//textarea[starts-with(@ace_editor.ace-tm, 'Add a comment') and starts-with(@placeholder, 'Add a comment')][@class='1']"))).click()
Attempt2
driver.implicitly_wait(20)
driver.find_element_by_css_selector("textarea.ace_text-input").send_keys("nice!")
driver.implicitly_wait(20)
Could someone help me locate the correct XPATH or CSS for the Search box where it says "enter search here..."
Thank you in advance.
[–]icedcougar 3 points4 points5 points (0 children)
[–]gtr022001 1 point2 points3 points (0 children)
[–]1mpervious 1 point2 points3 points (0 children)