gocept.selenium provides an API for Selenium that is suited for writing tests and integrates this with your test suite for any WSGI, Plone or Grok application.
While the testing API could be used independently, the integration is done using test layers, which are a feature of zope.testrunner.
Use gocept.pytestlayer to integrate it with pytest.