It would be great to cover Netflix player with E2E tests (example), but there are some problems:
How to access Netflix player without account?
Personally, I don't have access to Netflix as it's blocked in my country, to test it, at least on local machine.
It would be better to include tests in CI pipeline, but probably accessing Netflix from runner will be considered as a robot (which is kinda true)
Found a trailer player (https://www.netflix.com/title/80244682), but not sure if it has same API as main player, because it's not working with current implementation. In this player, there is no playerApp.getAPI() in window.netflix.appContext.state.
I'm not sure if extension's implementation still working with Netflix player or that trailer player has different API?
@nilshellerhoff maybe you have some thoughts?
It would be great to cover Netflix player with E2E tests (example), but there are some problems:
How to access Netflix player without account?
Found a trailer player (https://www.netflix.com/title/80244682), but not sure if it has same API as main player, because it's not working with current implementation. In this player, there is no
playerApp.getAPI()
inwindow.netflix.appContext.state
.