07 2017 档案

摘要:function waitFor(testFx, onReady, timeOutMillis) { var maxtimeOutMillis = timeOutMillis ? timeOutMillis : 120000, //< Default Max Timout is 3m start = 阅读全文
posted @ 2017-07-31 16:18 公众号python学习开发 阅读(511) 评论(0) 推荐(0)
摘要:var page = require('webpage').create(); var url = 'http://cardloan9.hateblo.jp/'; page.settings = { userAgent:"Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) ... 阅读全文
posted @ 2017-07-31 11:46 公众号python学习开发 阅读(358) 评论(0) 推荐(0)
摘要:var page = require('webpage').create(), system = require('system'), address; if (system.args.length === 1) { console.log('Usage: netlog.js '); phantom.exit(1); } else { address = system.... 阅读全文
posted @ 2017-07-31 09:53 公众号python学习开发 阅读(304) 评论(0) 推荐(0)
摘要:WindowsフォームでWebBrowserコントロールを配置すると、IEのバージョンが 7 と古い。レジストリをいじると、IE11の Edgeモードに変更できる(参考記事)。デザイン画面でWebBrowserコントロールどドラッグアンドドロップしておく。フォームにはFormClosingイベントの 阅读全文
posted @ 2017-07-31 09:34 公众号python学习开发 阅读(374) 评论(0) 推荐(0)
摘要:public class IEVersion { /// /// IE WebBrowser内核设置 /// public static void BrowserEmulationSet() { //当前程序名称 var exeName = Process.GetCurrentProcess().ProcessName + ".exe"; //系统注册表信息 var mreg = Regis... 阅读全文
posted @ 2017-07-31 09:30 公众号python学习开发 阅读(480) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Net.Http;using System.Text;using System.Threading.Tasks; namespace getBai 阅读全文
posted @ 2017-07-25 09:01 公众号python学习开发 阅读(703) 评论(0) 推荐(0)
摘要:namespace CefSharp.OffScreen.Example { public class Program { private static ChromiumWebBrowser browser; public static void Main(string[] args) { const st... 阅读全文
posted @ 2017-07-21 17:54 公众号python学习开发 阅读(3235) 评论(0) 推荐(0)
摘要:var success = await browserViewModel.WebBrowser.PrintToPdfAsync(dialog.FileName, new PdfPrintSettings { MarginType = CefPdfPrintMarginType.Custom, Mar 阅读全文
posted @ 2017-07-21 17:18 公众号python学习开发 阅读(1277) 评论(0) 推荐(0)
摘要:using CefSharp; using CefSharp.WinForms; using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; u... 阅读全文
posted @ 2017-07-19 17:13 公众号python学习开发 阅读(549) 评论(0) 推荐(0)
摘要:红色部分为重点 1.webconfig配置 <system.webServer> <modules> <remove name="FormsAuthentication" /> </modules> </system.webServer> 附:JsonHelper.cs sha256.cs 4.ac 阅读全文
posted @ 2017-07-04 11:03 公众号python学习开发 阅读(422) 评论(0) 推荐(0)
摘要:json字符串如下: 第一步:利用vs2013或者以上版本生成类文件 具体操作:选中json字符串打开vs2013创建一个类文件依次点击:编辑->选择性黏贴->将json粘贴为类如下: 3.Json To Object 添加引用json.net 读取json文件 阅读全文
posted @ 2017-07-04 10:48 公众号python学习开发 阅读(1820) 评论(0) 推荐(0)