Cleaned up Import Choose File check
This commit is contained in:
@@ -928,8 +928,7 @@ const steps = [
|
|||||||
|
|
||||||
const element = await driver.findElement(By.css('#import > div > div > div:nth-child(1) > div:nth-child(2) > input[type=hidden]:nth-child(2)'));
|
const element = await driver.findElement(By.css('#import > div > div > div:nth-child(1) > div:nth-child(2) > input[type=hidden]:nth-child(2)'));
|
||||||
|
|
||||||
//Get text, font, size, and color
|
//Get name, and value
|
||||||
const elementText = await element.getText();
|
|
||||||
const elementName = await element.getAttribute('name');
|
const elementName = await element.getAttribute('name');
|
||||||
const elementValue = await element.getAttribute('value');
|
const elementValue = await element.getAttribute('value');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user