INNER CODE UNIT · JavaScript

_search

SuperMonster003/Ant-Forest · ant-forest-launcher.js:597

                                        function _search() {
                                            if (a11yx.wait(idMatches(/.*search.input.box/), 5e3, 80)) {
                                                let _text = '蚂蚁森林小程序';
                                                setText(_text);
                                                a11yx.wait(_text, 2e3, 80);
                                                return a11yx.click(idMatches(/.*search.confirm/), 'w', {
                                                    condition: () => _w_item = $$sel.get('af'),
                                                    max_check_times: 8,
                                                    check_time_once: 2.4e3,
                                                });
                                            }
                                        }

                                        function _launch() {
                                            return _this._launcher(() => a11yx.click(pickup([ '蚂蚁森林', {
                                                filter: (w) => {
                                                    /** @type {UiObject$} */
                                                    let p = w.compass('p3');

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…