Multiple files upload in selenium webdiver

后端 未结 4 2059
鱼传尺愫
鱼传尺愫 2021-01-15 23:50

I want to upload 5 files,but my \'file input\' is same name/id,how can i possible to upload five files. My HTML code is:

4条回答
  •  无人及你
    2021-01-16 00:15

    Holy ##### it even works in PHP:

    public function waitForAjax()
    {
        while(true)
        {
            $ajaxIsComplete = array(
                'script' => 'return jQuery.active == 0',
                'args' => array()
            );
            $ajaxIsComplete = $this->execute($ajaxIsComplete);
            if ($ajaxIsComplete) {
                break;
            }
        }
    }
    

    Thank you :)

提交回复
热议问题