还未发布过话题
  • /** 1.1.2 if finished browsing, and the current one is originates from a normal view, trigger back and then crawl again*/
    this.repeatingCrawlingCount++;
    if (this.currentNode.depth === 0) {
    /** 1.1.2.1 if depth is 0 , then terminate crawling, avoid further navigate back /
    this.repeatingCrawlingCount = maxRepeatCrawlingCount;
    this.crawl();
    } else {
    /
    * 1.1.2.2 if depth is not 0, then back and further explore */
    console.log('=====this.curentNode.depth !== 0 back');
    this.back();
    }
    }

    请问大佬 这段代码的意思 为什么 this.currentNode.depth === 0 就终止爬行呢?

  • /** 1.1.2 if finished browsing, and the current one is originates from a normal view, trigger back and then crawl again*/
    this.repeatingCrawlingCount++;
    if (this.currentNode.depth === 0) {
    /** 1.1.2.1 if depth is 0 , then terminate crawling, avoid further navigate back /
    this.repeatingCrawlingCount = maxRepeatCrawlingCount;
    this.crawl();
    } else {
    /
    * 1.1.2.2 if depth is not 0, then back and further explore */
    console.log('=====this.curentNode.depth !== 0 back');
    this.back();
    }
    }

    想请问一下大佬 为什么 this.currentNode.depth ===0 的时候结束爬行啊 depth 不应该是自己设置的吗?

  • 这个怎么打断点啊

  • 想问一下 nosmoke 支持与数据库操作吗

  • 基于 macaca 的遍历 NoSmoke at September 13, 2018

    求教大神报告器的 每个 digest 的 time 怎么设置啊?

  • 使用 USB 连接

    手机的序列号可以通过 adb devices 获取到,假设序列号是 123456f,连接代码为

    import uiautomator2 as u2
    d = u2.connect_usb('123456f') 这段连接代码 在什么地方写啊

  • 您好 我的是 ubuntu 为啥打开之后一直转圈啊 啥都出不来啊!