final class Config extends AnyRef
- Alphabetic
- By Inheritance
- Config
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val materialization: Materialization
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def withMaterialization(materialization: Materialization): Config
-
def
withMaterializeInServer(contentDir: Path, webRoot: URL): Config
Materializes files in a static directory of a user configured server.
Materializes files in a static directory of a user configured server.
Version of
withMaterializeInServer
with stronger typing.- contentDir
Static content directory of the server. The files will be put here. Will get created if it doesn't exist.
- webRoot
URL making
contentDir
accessible thorugh the server. This must have a trailing slash to be interpreted as a directory.
-
def
withMaterializeInServer(contentDir: String, webRoot: String): Config
Materializes files in a static directory of a user configured server.
Materializes files in a static directory of a user configured server.
This can be used to bypass cross origin access policies.
- contentDir
Static content directory of the server. The files will be put here. Will get created if it doesn't exist.
- webRoot
URL making
contentDir
accessible thorugh the server. This must have a trailing slash to be interpreted as a directory.
The following will make the browser fetch files using the http:// schema instead of the file:// schema. The example assumes a local webserver is running and serving the ".tmp" directory at http://localhost:8080.
jsSettings( jsEnv := new SeleniumJSEnv( new org.openqa.selenium.firefox.FirefoxOptions(), SeleniumJSEnv.Config() .withMaterializeInServer(".tmp", "http://localhost:8080/") ) )
Example: -
def
withMaterializeInTemp: Config
Materializes purely virtual files into a temp directory.
Materializes purely virtual files into a temp directory.
Materialization is necessary so that virtual files can be referred to by name. If you do not know/care how your files are referred to, this is a good default choice. It is also the default of PWEnv.Config.
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated