I have a SharePoint based form where I need to input some values and click on the "Submit" button. All works fine, except when I move to the Submit button it shows the following errors. I can't find anything online that can help with this issue. FYI, sometimes it works and sometimes it doesn't.
Pop-up to appear after successful submission
Errors
Every renderer should have at least one task provided by a primary task provider. If a "Renderer" fallback task is shown, it is a bug. If you have repro steps, please file a new bug and tag it as a dependency of crbug.com/739782.
Every renderer should have at least one task provided by a primary task provider. If a "Renderer" fallback task is shown, it is a bug. If you have repro steps, please file a new bug and tag it as a dependency of crbug.com/739782.
USB: usb_device_handle_win.cc:1049 Failed to read descriptor from node connection: A device attached to the system is not functioning. (0x1F)
Can't create base directory: C:\Program Files\Microsoft\EdgeUpdater
Passthrough is not supported, GL is disabled, ANGLE is
Here is my code
#Install WebDriver for MS Edge
from selenium import webdriver
from selenium.webdriver.edge.service import Service as EdgeService
from webdriver_manager.microsoft import EdgeChromiumDriverManager
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
service = EdgeService(executable_path=EdgeChromiumDriverManager().install())
web = webdriver.Edge(service=service)
url = 'https://ca.yahoo.com/?p=us' #can't include the real path here.
#script does couple of input here ...
#This is where I am having an issue and Submit button is not getting clicked.
WebDriverWait(web, 10).until(EC.element_to_be_clickable((By.XPATH, "//input[@id='FormControl_V1_I1_B12' and @formid='FormControl'][@value='Submit']"))).click()
web.switch_to.alert.accept() #to accept an "Okay" pop-up. I am not able to come to this stage and gives an error as no pop-up is detected.
web.quit()
Also note there is an automated test notification. Not that I think it makes any difference to my submission.