public function build()
    {
        $pageFinder = new PageFinder($this->browser);

        if ($this->isWithAssertions) {
            $pageFinder = new PageFinderWithAssertions($pageFinder);
        }

        if ($this->isWithWaits) {
            $pageFinder = new PageFinderWithWaits($pageFinder, $this->timeOutInSeconds);
        }

        return $pageFinder;
    }