Class Playwright.CreateOptions

  • Enclosing interface:
    Playwright

    public static class Playwright.CreateOptions
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.util.Map<java.lang.String,​java.lang.String> env
      Additional environment variables that will be passed to the driver process.
    • Constructor Summary

      Constructors 
      Constructor Description
      CreateOptions()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Playwright.CreateOptions setEnv​(java.util.Map<java.lang.String,​java.lang.String> env)
      Additional environment variables that will be passed to the driver process.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • env

        public java.util.Map<java.lang.String,​java.lang.String> env
        Additional environment variables that will be passed to the driver process. By default driver process inherits environment variables of the Playwright process.
    • Constructor Detail

      • CreateOptions

        public CreateOptions()
    • Method Detail

      • setEnv

        public Playwright.CreateOptions setEnv​(java.util.Map<java.lang.String,​java.lang.String> env)
        Additional environment variables that will be passed to the driver process. By default driver process inherits environment variables of the Playwright process.