Reputation: 21
I am confused about the implicit call which is chain call: WebDriver driver = new ChromeDriver(); driver.manage().timeouts().implicitlyWait(Duration.ofSeconds(10));
driver.manager(); return a interface type "Options", which is not object. I cannot understand why call timeOuts() method, because "Options" is not an object, is an interface. Did I miss something?
Upvotes: 0
Views: 24