Class Upload
java.lang.Object
net.serenitybdd.screenplay.playwright.interactions.Upload
- All Implemented Interfaces:
SkipNested,Performable
public class Upload extends java.lang.Object implements Performable
Upload file using file chooser.
More info at https://playwright.dev/java/docs/api/class-page/#pageonfilechooserhandler
-
Constructor Summary
Constructors Constructor Description Upload(java.lang.String path) -
Method Summary
Modifier and Type Method Description static Uploadfile(java.lang.String path)<T extends Actor>
voidperformAs(T actor)Performableto(java.lang.String selector)Performableto(Target target)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.serenitybdd.screenplay.Performable
then
-
Constructor Details
-
Upload
public Upload(java.lang.String path)
-
-
Method Details
-
file
-
to
-
to
-
performAs
- Specified by:
performAsin interfacePerformable
-