import os

os.environ['QT_API'] = os.environ['USE_QT_API'].lower()

from qtpy import QtCore, QtGui, QtWidgets

print('Qt version:%s' % QtCore.__version__)
print(QtCore.QEvent)
print(QtGui.QPainter)
print(QtWidgets.QWidget)

import os

os.environ['QT_API'] = os.environ['USE_QT_API'].lower()

from qtpy import QtCore, QtGui, QtWidgets, QtWebWidgets

print('Qt version:%s' % QtCore.__version__)
print(QtCore.QEvent)
print(QtGui.QPainter)
print(QtWidgets.QWidget)
print(QtWebWidgets.QWebPage)

Add test for QtWebWidgets