Open nklayman opened 4 years ago
11.1.0 should have been released as 12.0.0.
I just experienced the same issue. Webdriverio v5 was a major breaking change from v4, and it is not a drop-in replacement.
Can we get some guidance on whether there will be an 11.x version to revert this breaking change, or if we are just going to have to live with it (which in this case is not great, but considering the rapid development and versioning, we would just have to deal with it anyway in a couple of weeks)?
I found a few breaking changes with the 11.1.0 release.
First,
client.getHTML
was removed because of the upgradedwebDriver
version.Second,
client.getRendererProcessLogs
doesn't return all logs, just some electron warnings. I think it may have been caused by https://github.com/electron-userland/spectron/commit/9fdb35322075f565cc649da9bd1fa3601bd87ab2#diff-5372f626ee15242f1e2c6eb31655b4faR279I made an example repo to show these changes. Clone it, run
yarn
to install deps, then runyarn test:unit
. All tests should pass. Then, runyarn add spectron@11.1.0
to upgrade spectron, andyarn test:unit
will fail.