16:43:56 RRSAgent has joined #webdriver 16:44:01 logging to https://www.w3.org/2023/11/08-webdriver-irc 16:44:56 rrsagent, make logs world-visible 16:46:52 Meeting: Browser Testing and Tools WG - November 2023 16:47:03 Chair: David Burns 16:47:54 scribe: David Burns 16:48:02 ScribeNick: AutomatedTester 16:48:22 RRSAgent, publish minutes 16:48:23 I have made the request to generate https://www.w3.org/2023/11/08-webdriver-minutes.html AutomatedTester_ 16:48:50 present+ 16:50:17 agenda: https://www.w3.org/wiki/WebDriver/2023-11-BiDi 17:01:01 present+ 17:01:17 present+ 17:01:28 present+ 17:01:29 present+ 17:01:30 present+ 17:04:12 Topic: Clarify correct behavior for uploading a folder via "Element Send Keys" 17:04:22 github: https://github.com/w3c/webdriver/issues/1742 17:04:24 present+ 17:05:27 whimboo: I have noticed this for a issue against for Firefox recently. Firefox doesnt do anything but ChromeDriver uploads all the files in the directory 17:05:51 ... so what should we be doing as we could break backwards compat here 17:05:57 q? 17:07:27 automatedtester: I kinda think that we should follow what chromedriver is doing here for everyone 17:07:28 present+ 17:07:54 whimboo: This will potentially upload files that people are not expecting here... so we might want to clarify things for users 17:08:12 q? 17:08:49 q? 17:09:04 present+ 17:09:25 q+ 17:09:40 q+ 17:11:06 lola_ has joined #webdriver 17:11:07 simonstewart has joined #webdriver 17:11:12 present+ 17:11:14 whimboo_ has joined #webdriver 17:11:18 present+ 17:11:21 present+ 17:11:30 https://irc.w3.org 17:11:37 orkon_ has joined #webdriver 17:12:06 jgraham__ has joined #webdriver 17:12:42 jgraham__ has left #webdriver 17:13:22 orkon___ has joined #webdriver 17:13:24 Nikolay has joined #webdriver 17:13:25 sasha_ has joined #webdriver 17:13:26 jgraham__ has joined #webdriver 17:13:38 present+ 17:13:51 thiagowfx_web has joined #webdriver 17:14:01 Randolf__ has joined #webdriver 17:14:04 q+ 17:14:14 q- 17:14:15 ack MaksimSadym 17:14:16 present+ 17:14:21 q- 17:14:23 q- 17:14:26 q+ 17:14:43 ack next 17:15:11 q+ 17:15:21 orkon___: I think we should probably move chromedriver towards to firefox. We should raise a bug and see what happens on the file. 17:15:50 ... and with regard to bidi, the validation is left to the client 17:16:08 q? 17:16:10 q- 17:16:44 q+ 17:17:08 ACTION: Chromedriver folks to see what happens on a web page when and possible move ChromeDriver to Firefox implementation 17:17:15 ack next 17:18:03 q- 17:18:20 Randolf__: this feels like it is OS territory here. I think we should just do something simple and move CHromedriver to just do files and not folders 17:18:39 Topic: Serialize WindowProxy with full browsingContext.info and not just context 17:18:48 github: https://github.com/w3c/webdriver-bidi/issues/580 17:19:25 whimboo_: This is a follow up to get feedback on the serialising the WindowProxy 17:19:55 ... and to share back with clients what the type of the window 17:20:28 q+ 17:20:35 ... adding this info on the response we can minimize all the round trips back to the client and simplify the interop hopefully 17:20:38 ack next 17:20:54 ... in puppeteer they cache the window objects 17:21:08 ... but we don't expect that in selenium 17:21:44 MaksimSadym: I wonder if its good enough to send back just the frame or top level 17:21:58 ... or if we need to pass back a lot more info e.g. parent/children 17:22:06 q+ 17:22:10 ack next 17:22:40 q+ 17:23:30 q+ 17:23:43 whimboo_: if we don't want to have the full browsing context info we could add a flag e.g. if it's a top level it returns without the flag and with the frame it has it 17:23:46 q? 17:23:48 ack next 17:25:13 jgraham_: we can serialise the children. it is a reasonable concern if we are sharing too much info but we can return it with extra info url and ids 17:25:32 ack next 17:25:44 s/can serialise/can skip serialising/ 17:26:09 s/extra info/only/ 17:26:18 s/and ids/and parent/ 17:28:54 We aren't opposed to the suggestion, but I wonder if the justification "X is needed in case of cross-operations between BiDi and Classic to reduce round trips" to extend data / add new commands etc it enough 17:29:02 Topic: input.setFiles 17:29:12 github: https://github.com/w3c/webdriver-bidi/issues/494 17:29:18 q+ 17:29:29 ack next 17:30:01 lola_ has joined #webdriver 17:30:11 orkon___: We have supplied 2 PRs. One is for the setting the files on an input element and one for picking files 17:30:17 q+ 17:30:27 ... one question do we need to show the dialog? 17:30:49 ... in puppeteer we intercept and then set it without showing it 17:30:55 ... any thoughts 17:30:57 ack next 17:31:25 jgraham_: there are clear use cases for both for getting the event when the dialog is shown 17:31:53 ... we have done things in the pass where we have semi automated tests 17:32:10 ... where people might have a human in the loop 17:32:39 ... there could be a use case where we are collecting events but the human does the interactions 17:33:18 ... there might be times where you want to automate that if you clicked a button that the dialog is loaded and you assert on that event 17:33:34 q+ 17:33:38 ... I think we should support both use cases 17:33:51 ... I don't think subscribing to the even should supress the dialog 17:34:15 q+ 17:34:27 ... the way this works in classic for alerts is via capabilities and we could use that process 17:35:40 ... and we could supress the dialog in a global way. It might make sense to ahve a config for this that surpresses things and in the event we add that it would have come up but was surpressed 17:35:44 ack next 17:36:44 orkon___: if we surpess this via a capability... what happens if a user doesn't subscribe or they dont suppress it would it be open all the time? 17:36:50 jgraham_: yes, like alerts 17:37:04 ack next 17:37:29 Randolf__: I think that if we do it via capabilities it should be fine 17:37:40 ... outside of that we can discuss it on the PR 17:38:09 ... is there anything else missing. jgraham_ did have a comment about cancellation. I have followed up on the PR 17:38:21 jgraham_: I will review again 17:38:27 q? 17:38:43 Topic: Permission extensions 17:38:57 github: https://github.com/w3c/webdriver-bidi/issues/587 17:39:23 orkon___: thiagowfx_web started looking into implementing permissions 17:39:53 ... there is a PR in draft that people can start reviewing about how extension methods should be written 17:40:27 q+ 17:40:29 ... do we want to refine the way we have extensions written or ...? 17:40:33 ack next 17:41:07 jgraham_: I haven't looked yet but adding whole modules seems a very clear way for people to add things 17:41:38 ... it also has good way to prevent people trampling over 17:41:42 q+ 17:41:55 ... I think vendor extensions and spec extensions are very different use cases 17:42:51 ... we should encourage external specs to define whole modules for their use 17:42:55 q+ gsnedders 17:42:56 ack next 17:44:44 orkon___: . As for classic permissions only has 1 command so that seems a little much for a whole module 17:44:55 ... but I think it could work 17:44:59 ack next 17:45:33 q+ 17:46:14 gsnedders: To use the permission spec as a idea... we should consider that a spec could extend webdriver and also want to add new capabilities and we should handle that 17:46:18 ack next 17:46:39 jgraham_: capabilities is a special case 17:46:59 q+ 17:47:05 ... if the use case is extending capabilities I think that is already covered 17:47:07 ack next 17:47:56 orkon: we have already started looking into this to get the classic across to bidi. if you think we can improve this please comment on the PR 17:48:11 q? 17:48:21 Topic: Cookies 17:48:21 (don't want to extend this topic further, but I always assumed BiDi would move to an event-based model for permissions i.e. you'd get a permissions.Request event with some information) 17:48:24 github: https://github.com/w3c/webdriver-bidi/issues/287 17:49:10 orkon___: I was wondering if there are any open issues/blockers for the cookies proposal? 17:49:15 q? 17:49:29 https://github.com/w3c/webdriver-bidi/pull/501 17:49:50 q+ 17:49:53 ack next 17:50:38 lola_: Mike isn't here today but he will be working on them this week. We should hopefully have those comments handled and ready for review later this week 17:51:07 Topic: "session.reset" / "session.unsubscribeAll" 17:51:15 github: https://github.com/w3c/webdriver-bidi/issues/145 17:51:24 q+ 17:51:46 sadym: it would be good to use something like session.reset to clean up the state for tests 17:52:13 ... we are already cleaning up tests for WPT 17:52:16 ack next 17:52:33 jgraham_: I think in principle this seems ok 17:52:56 q+ 17:53:26 ... we disucssed internally and we discussed that it would be good to have a mechanism to get a token for certain events and then you only unsubscribe for that set of events 17:54:00 ack next 17:54:54 orkon___: I wonder if there is some overlap with the removing the session PR that jgraham_ was working on where restarting a session on the same connect 17:55:07 q+ 17:55:25 ack next 17:56:20 The scenario is to prepare the state for the next test, and re-creating the session with the same websocket connection would work as well, but not sure if there can be some other side effects 17:57:07 jgraham_: the original PR was a lightweight reset of the session 17:57:29 ... it clear the object cache but leave the capabilities 17:58:39 ... 17:58:53 ... we should definitely write this up 18:00:06 RRSAgent: make minutes 18:00:07 I have made the request to generate https://www.w3.org/2023/11/08-webdriver-minutes.html jgraham_ 21:54:58 karlcow has joined #webdriver