Package org.openqa.selenium.firefox

Examples of org.openqa.selenium.firefox.FirefoxProfile.toJson()


                log.info("Firefox profile directory: {}", profileDir);
            }
            if (isRemote) {
                String json;
                try {
                    json = profile.toJson();
                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
                caps.setCapability(FirefoxDriver.PROFILE, json);
                log.info("Convert Firefox profile to JSON: {} bytes", json.length());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.