understanding selenium chaining call

18 Views Asked by At

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?

0

There are 0 best solutions below