PlaywrightFinderExtention

PlaywrightFinderExtention

Finder extension implemented with Playwright.

Constructor

new PlaywrightFinderExtention()

Source:

Methods

attachFile(filePath, options) → {Promise}

Description:
  • Attach the file given with filePath. Now, it is not supported that you attach a file to input-elements in iframe .

Source:
Parameters:
Name Type Description
filePath string

Specify the path of the file to be attached

options object
Returns:
Type
Promise

fillIn(text, options) → {Promise}

Description:
  • Fill the given text into the element as a user does with the keyboard. Now, it is not supported that you fill in input-elements in iframe.

Source:
Parameters:
Name Type Description
text string

text to be filled in

options object
Properties
Name Type Description
sequentially boolean

if true, press keys one by one

Returns:
Type
Promise