V
Size: a a a
V
M
driver.findElement(By.xpath("//button")).click();;- не работает
driver.findElement(By.xpath("(//button[@type='button'])[5]")).click();- тоже не работает
KL
pricing-pro
S
V
driver.findElement(By.xpath("//button")).click();;- не работает
driver.findElement(By.xpath("(//button[@type='button'])[5]")).click();- тоже не работает
IB
V
data-test
M
@Test
public void testMYTEST() throws Exception {
driver.get("http://НАЗВАНИЕ САЙТА");
driver.findElement(By.xpath("//input[@type='text']")).click();
driver.findElement(By.xpath("//input[@type='text']")).clear();
driver.findElement(By.xpath("//input[@type='text']")).sendKeys("ВВОЖУ_СЮДА_ИМЕЙЛ");
driver.findElement(By.xpath("//input[@type='password']")).click();
driver.findElement(By.xpath("//input[@type='password']")).clear();
driver.findElement(By.xpath("//input[@type='password']")).sendKeys("ВВОЖУ_СЮДА_ПАРОЛЬ");
driver.findElement(By.xpath("//button")).click();
KL
data-test
pro = browser.find_element_by_xpath('//*[@data-test="pricing-pro"]/p')
это сработало)V
pro = browser.find_element_by_xpath('//*[@data-test="pricing-pro"]/p')
это сработало)KL
KL
@Test
public void testMYTEST() throws Exception {
driver.get("http://НАЗВАНИЕ САЙТА");
driver.findElement(By.xpath("//input[@type='text']")).click();
driver.findElement(By.xpath("//input[@type='text']")).clear();
driver.findElement(By.xpath("//input[@type='text']")).sendKeys("ВВОЖУ_СЮДА_ИМЕЙЛ");
driver.findElement(By.xpath("//input[@type='password']")).click();
driver.findElement(By.xpath("//input[@type='password']")).clear();
driver.findElement(By.xpath("//input[@type='password']")).sendKeys("ВВОЖУ_СЮДА_ПАРОЛЬ");
driver.findElement(By.xpath("//button")).click();
S
M
IB
IB
IB
R(
IB