List<String> argumentsList = Arrays.asList("headless", "no-sandbox");
chromeOptions.setCapability(CapabilityType.PLATFORM_NAME, Platform.LINUX);
chromeOptions.addArguments(argumentsList);
--
You received this message because you are subscribed to a topic in the Google Groups "Selenium Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/selenium-users/dSxJtR1hOYs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/f552aa0c-cd4f-48d9-9832-96395f082cad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.