selenium import webdriverfrom selenium.webdriver.chrome.service\Python39\Scripts\chromedriver.exe') #Use the chrome driver located at the corresponding path
drivertbody/tr/td[2]/div/di
这是我第一天使用Selenium,所以我还没有学到所有的窍门。我想使用python将许多不同的值填充到文本框/网站下拉列表中。我需要做很多次,每次都会有不同的值。在使用Selenium时,我需要访问的大部分内容都以以下形式出现:
<input class="there are several classes" type="text" data-bind="value每次我尝试更新这些文本框中的值时,我只能更新第一个框(我需要访问所有