user3559982
user3559982

Reputation: 21

understanding selenium chaining call

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

Answers (0)

Related Questions