2017-05-30 1 views
0

こんにちは私はtestinです、私はすべてのリンクを選択し、それぞれをチェックする必要がありますが、リンクをクリックするか、すべてのページをナビゲートする方法を知っていますか? the website that I need to navigate and click on linksVB.Net Webページを取得してナビゲートする方法に関するコード

私は、HTML敏捷性パックを使用してみましたし、私はUWPで、このパターンのページ

 Dim doc As New HtmlAgilityPack.HtmlDocument() 

    Dim web As New HtmlAgilityPack.HtmlWeb() 

    web.UseCookies = True 

    doc = web.Load("https://hpe.wd5.myworkdayjobs.com/Jobsathpe/0/refreshFacet/318c8bb6f553100021d223d9780d30be?ac=34824") 


    RichTextBox1.Text = doc.DocumentNode.OuterHtml 
+1

良いUIのですか? –

+0

申し訳ありませんが、それぞれの求人情報をクリックする必要がありますが、コード化する方法がわかりません – Gorhell

+1

これまでに何を試しましたか?参照:[最小限で完全で検証可能なサンプルの作成方法](http://stackoverflow.com/help/mcve) –

答えて

0

ルックで要素を取得することはできません。それは私がここで求められていますかわからないんだけど https://blogs.windows.com/buildingapps/2017/05/01/master-master-detail-pattern/#.WSrAkFuGID4.twitter#5QUhldJxwFXLjl3Y.97

Public Sub New() 
InitializeComponent() 

ViewModel.PropertyChanged += ViewModel_PropertyChanged 

ArticleWebView.NavigationStarting += Function(s, e) 
If e.Uri IsNot Nothing AndAlso Not Await e.LaunchBrowserForNonMatchingUriAsync(ViewModel.CurrentArticle.Link) Then 
    ' In-app navigation, so hide the WebView control and display the progress 
    ' animation until the page load is completed. 
    ArticleWebView.Visibility = Visibility.Collapsed 
    LoadingProgressBar.Visibility = Visibility.Visible 
End If 

エンド機能

ArticleWebView.LoadCompleted += Function(s, e) 
ArticleWebView.Visibility = Visibility.Visible 
LoadingProgressBar.Visibility = Visibility.Collapsed 

エンド機能 End Subの

関連する問題