|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
/*
|
|
|
|
|
* Copyright 2012-2019 the original author or authors.
|
|
|
|
|
* Copyright 2012-2022 the original author or authors.
|
|
|
|
|
*
|
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
@ -36,11 +36,15 @@ import org.springframework.util.StringUtils;
|
|
|
|
|
* {@link WebDriverTestExecutionListener}.
|
|
|
|
|
*
|
|
|
|
|
* @author Phillip Webb
|
|
|
|
|
* @since 3.0.0
|
|
|
|
|
* @see WebDriverContextCustomizerFactory
|
|
|
|
|
* @see WebDriverTestExecutionListener
|
|
|
|
|
*/
|
|
|
|
|
class WebDriverScope implements Scope {
|
|
|
|
|
public class WebDriverScope implements Scope {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* WebDriver bean scope name.
|
|
|
|
|
*/
|
|
|
|
|
public static final String NAME = "webDriver";
|
|
|
|
|
|
|
|
|
|
private static final String WEB_DRIVER_CLASS = "org.openqa.selenium.WebDriver";
|
|
|
|
|