摘要:
WebElement file = driver.findElement(By.name("filename")); 给此元素设置值:file.sendKeys("E:\testfile.jpg"); 阅读全文
摘要:
from selenium import webdriverd= webdriver.PhantomJS()d.set_page_load_timeout(10)d.set_script_timeout(10)#这两种设置都进行才有效 阅读全文
摘要:
import socket # 获取本机计算机名称 hostname = socket.gethostname() # 获取本机ip ip = socket.gethostbyname(hostname) print(ip) 阅读全文
摘要:
import http.client, mimetypes, urllib, json, time, requests #######################################################################验证码地址**(记得修改)**Imag 阅读全文
摘要:
def scroll(driver): driver.execute_script(""" (function () { var y = document.body.scrollTop; var step = 100; window.scroll(0, y); function f() { if ( 阅读全文
摘要:
<!DOCTYPE html><!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--><!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->< 阅读全文
摘要:
<?php// + // | OneThink [ WE CAN DO IT JUST THINK IT ]// + // | Copyright (c) 2013 http://www.onethink.cn All rights reserved.// + // | Author: sima < 阅读全文
摘要:
$objPHPExcel->getActiveSheet()->getProtection()->setSheet(true); 阅读全文
摘要:
//设置单元格边框 $style_array = array( 'borders' => array( 'allborders' => array( 'style' => \PHPExcel_Style_Border::BORDER_THIN ) ) ); $objPHPExcel->getActi 阅读全文
摘要:
<?phpnamespace Admin\Controller;use Think\Controller;class InoutController extends Controller { public function exportExcel($expTitle,$expCellName,$ex 阅读全文