Learn Selenium
上QQ阅读APP看书,第一时间看更新

Summary

In this short chapter, we learned how to use Selenium 8 Stream API and Lambda functions to simplify the Selenium WebDriver code. This helps you to write code in a functional programming style, which is more fluent and readable. Streams are useful for working with the list of WebElements. We can collect and filter data with a stream easily.

In the next chapter, we will explore the features of WebDriver for taking screenshots, handling Windows and Frames, synchronization, and managing cookies.