16:02:28 RRSAgent has joined #webdriver 16:02:28 logging to https://www.w3.org/2020/10/07-webdriver-irc 16:02:38 RRSAgent: This is webdriver 16:02:38 I'm logging. I don't understand 'This is webdriver', jgraham. Try /msg RRSAgent help 16:03:00 https://browserstack.zoom.us/j/93609386981?pwd=dmdsK29YRVVxdXFTU2tXWjhnNnJvQT09 16:03:03 RRSAgent: make logs public 16:03:29 simonstewart has joined #webdriver 16:03:46 RRSAgent: publish minutes v2 16:03:46 I have made the request to generate https://www.w3.org/2020/10/07-webdriver-minutes.html jgraham 16:03:54 present+ jgraham 16:04:01 for those just joining the channel, the meeting link is https://browserstack.zoom.us/j/93609386981?pwd=dmdsK29YRVVxdXFTU2tXWjhnNnJvQT09 16:04:14 if your colleagues need the link please share 16:04:28 present+ simonstewart 16:04:42 I've updated https://www.w3.org/wiki/WebDriver/2020-10-BiDi with the new URL 16:05:08 present+ mathiasbynens 16:05:16 present+ 16:05:25 present+ 16:05:26 present+ 16:05:37 scribe: AutomatedTester 16:05:50 present+ 16:06:29 https://www.w3.org/wiki/WebDriver/2020-10-BiDi 16:06:31 meeting: WebDriver-BiDi 16:06:46 Agenda: https://www.w3.org/wiki/WebDriver/2020-10-BiDi 16:07:24 topic: Follow ups from previous meetings 16:08:22 Automatedtester: No items to be discussed 16:08:43 topic: Add initial support for subscribing to events 16:08:46 https://w3c.github.io/webdriver-bidi/#events is probably the best place to start reading what landed 16:09:20 Foolip: can jgraham explain the model here please 16:09:31 jgraham: This is about enable events 16:09:41 Then there's https://w3c.github.io/webdriver-bidi/#command-session-subscribe and -unsubscribe which are the other important bits. 16:10:02 ... the tricky thing here is around timing especially around the creation of the browsing context 16:10:18 ... in automation we have a small assumption that we have full control of the browser 16:10:26 ... which might not be correct 16:10:41 ... and we want to get to a stage to get events when targets are created 16:10:57 ... and then be able to filter events based on criteria 16:11:26 ... we have a way of enabling events of a target or for global events 16:11:48 ... we have a global event map that tell you what has been enabled 16:12:49 ... [discusses implementation details on how browsing context items could be done] 16:14:09 ... the way you works in the spec is that events constantly happen and then they are passed up to the browsing context, filtered, and the up to the parent process. I know implementations will be slightly different but the spec has to be written this way due to how we hook into other specs 16:14:31 ... if this is concerning can you raise an issue or ask a question now. 16:15:05 foolip: whats the significance of the tri state "thing" 16:15:05 q+ 16:16:23 jgraham: There are cases that collecting events can be inflexible [describes frames and sub frames and how they might not get all events] 16:16:46 q? 16:16:56 ack simonstewart 16:17:12 drousso has joined #webdriver 16:17:14 simonstewart: how do you unsubscribe from events? 16:17:18 present+ 16:17:39 q+ 16:17:39 jgraham: there currently is a way to do that but there could be 16:17:46 ack foolip 16:19:13 foolip: if you wanted to disable events for a frame can be tricky. If there are race conditions or challenges with the current model can you raise an issue 16:20:16 jgraham: there may be use cases that are not address but we can iterate over this in the future. 16:20:27 Is everyone else using a native app for this, or another browser? 16:20:44 topic: Value serialization 16:21:03 jgraham: I have put a PR up for value serialization up 16:21:14 ... for JavaScript objects 16:21:27 What I was saying, in short: It'd be great to have feedback on the event subscription model for issues we can foresee, but impl experience will likely reveal what needs to change here. Also, I suspect there's a race when disabling events for a subframe, but will file an issue. 16:21:34 ... I would encourage people to look at it and make comments 16:21:55 ... it is CDP-esque but with a lot of the legacy issues from CDP removed 16:22:57 ... the CDP issue of serializing an Array is gone so that you don't have to do N+1 to serialize an array where N is the number in the array 16:23:18 q+ 16:23:29 https://github.com/w3c/webdriver-bidi/pull/57 16:24:10 q? 16:24:14 ack simonstewart 16:24:35 simonstewart: Is there any reason why we didnt put NodeID into the Nodes property 16:24:47 jgraham: there is something there already 16:24:57 simonstewart: and this is compatible with webdriver http? 16:25:00 jgraham: yes 16:25:08 q+ 16:25:17 ack brwalder 16:26:50 brwalder: I agree that the serialization should have special attributes to work with classic webdriver. We may need to flesh out things that arent serialised in webidl. We may need to handle non-node webidl serialisation. Is there a plan? 16:27:33 Well, I'm still joined in the browser, so it won't be better. 16:28:10 jgraham: there are definitely other types that we may want to serial. In the original PR there were generators that could be returned but I removed that 16:28:39 ... There are going to be more platform objects that we should do something special. We're at the stage that it is easy to add those items 16:29:16 ... we can fall back to serialising an object and just serialise all their properties 16:29:20 q? 16:29:41 topic: Targets, browsing contexts and realms 16:30:01 jgraham: This is a question and not a status update 16:30:42 ... an outstanding question is "How do we want to talk about browsing context and realms" in terms of knowing what is there 16:31:11 ... it makes sense to do something that is broadly compatible with CDP so we can migrate that over 16:31:43 ... e.g. Page is a browsing context and it's also the JS execution context 16:32:08 ... and we need to get the tree of browsing contexts below a page 16:32:12 q? 16:32:13 Is there an issue that summarizes this? 16:32:49 https://github.com/w3c/webdriver-bidi/issues/18 16:34:02 Also https://github.com/w3c/webdriver-bidi/issues/42 16:34:10 GitHub: https://github.com/w3c/webdriver-bidi/issues/18 16:35:18 jgraham: Issue 18 is the place to follow up if people dont have questions or opinions right now. 16:35:24 q? 16:35:44 topic: Need WebSocket library for WebDriver BiDi tests 16:35:52 foolip: as a heads up, https://github.com/web-platform-tests/wpt/issues/26015 was filed yesterday, and anyone who cares about how BiDi ends up being testing in web-platform-tests might want to follow or comment there. 16:36:04 foolip: as a heads up, https://github.com/web-platform-tests/wpt/issues/26015 was filed yesterday, and anyone who cares about how BiDi ends up being testing in web-platform-tests might want to follow or comment there. 16:37:11 AutomatedTester: is it py3 only ? 16:37:19 foolip: it's py2 and py3 16:37:39 q? 16:38:03 reillyg6684 has joined #webdriver 16:38:07 jimevans1 has joined #webdriver 16:38:08 jgraham: There will be a RFC here for wpt 16:38:14 github-bot- has joined #webdriver 16:38:22 q+ 16:38:22 q? 16:38:24 q+ 16:38:59 ack jgraham 16:39:09 github-bot- has joined #webdriver 16:39:19 q? 16:39:25 Hexcles has joined #webdriver 16:39:54 AutomatedTester: Would recommend targetting 3.7+ based on selenium experience 16:40:02 AutomatedTester: having done something similar to selenium I recommend that we only use python 3.7+ 16:40:06 github-bot- has joined #webdriver 16:40:20 q? 16:40:24 Honza has joined #webdriver 16:40:30 ack brwalder 16:40:55 q+ 16:41:07 github-bot- has joined #webdriver 16:41:49 brwalder: If in addition to this would we be happy with asyncio? 16:42:06 AutomatedTester: yes, we would need to 16:42:06 github-bot has joined #webdriver 16:42:13 ack jgraham 16:42:23 jgraham: yes and asyncio is wher ethe py3 requirement will come from 16:42:27 q? 16:44:39 jgraham: really appreciate the updated PR — much simpler 16:44:48 chair: AutomatedTester 16:45:26 RRSAgent: make notes v2 16:45:26 I'm logging. I don't understand 'make notes v2', AutomatedTester. Try /msg RRSAgent help 16:46:08 Meeting: BTT WG October Meeting 16:46:20 RRSAgent: make minutes v2 16:46:20 I have made the request to generate https://www.w3.org/2020/10/07-webdriver-minutes.html jgraham 16:46:41 RRSAgent: bye 16:46:41 I see no action items