<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Chrome &#8211; FITSブログ</title>
	<atom:link href="https://blog.fits-inc.jp/tag/chrome/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.fits-inc.jp</link>
	<description>Webシステムの受託開発でお困りなら</description>
	<lastBuildDate>Mon, 01 Jun 2020 15:36:33 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.1</generator>

<image>
	<url>https://blog.fits-inc.jp/wp-content/uploads/2024/06/cropped-image-5-32x32.png</url>
	<title>Chrome &#8211; FITSブログ</title>
	<link>https://blog.fits-inc.jp</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>UiPath StudioX を使って Google検索で明日の天気を表示する</title>
		<link>https://blog.fits-inc.jp/2020/06/01/uipath-studiox-%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%a6-google%e6%a4%9c%e7%b4%a2%e3%81%a7%e6%98%8e%e6%97%a5%e3%81%ae%e5%a4%a9%e6%b0%97%e3%82%92%e8%a1%a8%e7%a4%ba%e3%81%99%e3%82%8b/</link>
		
		<dc:creator><![CDATA[FITS Admin]]></dc:creator>
		<pubDate>Mon, 01 Jun 2020 15:31:51 +0000</pubDate>
				<category><![CDATA[技術ブログ]]></category>
		<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[UiPath]]></category>
		<guid isPermaLink="false">https://blog.fits-inc.jp/?p=539</guid>

					<description><![CDATA[　UiPath の使い道として、ブラウザによるWeb操作を自動化したい、という要望が多いみたいです。本日はその入門編として、ブラウザを使ってGoogleにアクセスし、「明日の天気」を検索し、結果を表示させるところまでをU [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">　UiPath の使い道として、ブラウザによるWeb操作を自動化したい、という要望が多いみたいです。本日はその入門編として、ブラウザを使ってGoogleにアクセスし、「明日の天気」を検索し、結果を表示させるところまでをUiPath StudioXのプロジェクトで作成します。</p>



<h2 class="wp-block-heading">初めにプロジェクト作成</h2>



<p class="wp-block-paragraph">　まずはさくさくプロジェクトを作っていきましょう。新規プロジェクトから空のタスクを選びます</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="953" height="735" src="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image.png" alt="" class="wp-image-540" srcset="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image.png 953w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-300x231.png 300w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-768x592.png 768w" sizes="(max-width: 953px) 100vw, 953px" /></figure>



<p class="wp-block-paragraph">　プロジェクトの設定も特に凝らずにこのように。</p>



<figure class="wp-block-image size-large"><img decoding="async" width="780" height="459" src="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-1.png" alt="" class="wp-image-541" srcset="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-1.png 780w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-1-300x177.png 300w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-1-768x452.png 768w" sizes="(max-width: 780px) 100vw, 780px" /></figure>



<p class="wp-block-paragraph">　早速プロジェクトが作成されます。</p>



<figure class="wp-block-image size-large"><img decoding="async" width="710" height="399" src="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-2.png" alt="" class="wp-image-542" srcset="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-2.png 710w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-2-300x169.png 300w" sizes="(max-width: 710px) 100vw, 710px" /></figure>



<p class="wp-block-paragraph">　さて、アクティビティをスムーズに作成するため、ChromeなどのブラウザでGoogleのトップページを開いたままにしておきましょう。</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="509" src="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-3-1024x509.png" alt="" class="wp-image-543" srcset="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-3-1024x509.png 1024w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-3-300x149.png 300w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-3-768x382.png 768w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-3-1536x764.png 1536w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-3.png 1576w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">　次に、アプリケーション/ブラウザを使用アクティビティを配置します。まだアプリケーションを指定していないため赤いビックリマークが表示されています。</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="759" height="495" src="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-4.png" alt="" class="wp-image-544" srcset="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-4.png 759w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-4-300x196.png 300w" sizes="auto, (max-width: 759px) 100vw, 759px" /></figure>



<p class="wp-block-paragraph">　「アプリケーションを指定」をクリックし、捜査対象のアプリケーションをUiPathに教えてあげましょう。先ほど起動していたChromeのGoogleが表示されているウィンドウをクリックします。その際、下記のように青みがかったオーバレイ表示になるはずです。</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="675" src="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-5-1024x675.png" alt="" class="wp-image-545" srcset="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-5-1024x675.png 1024w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-5-300x198.png 300w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-5-768x506.png 768w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-5-1536x1013.png 1536w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-5.png 1556w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">　無事に指定が完了しましたので、アプリケーション/ブラウザを使用アクティビティが「ブラウザを使用」アクティビティに変化し、かつChromeでGoogleにアクセスするところまで自動で設定されています。</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="699" height="583" src="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-6.png" alt="" class="wp-image-546" srcset="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-6.png 699w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-6-300x250.png 300w" sizes="auto, (max-width: 699px) 100vw, 699px" /></figure>



<p class="wp-block-paragraph">　もし指定を間違えてしまった場合はアクティビティをそのものを削除してやりなおすか、バーガーメニューから「画面上でターゲットを指定」を選ぶなどして、再度アプリケーションを指定しましょう。</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="913" height="309" src="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-7.png" alt="" class="wp-image-547" srcset="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-7.png 913w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-7-300x102.png 300w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-7-768x260.png 768w" sizes="auto, (max-width: 913px) 100vw, 913px" /></figure>



<p class="wp-block-paragraph">　ここからはアプリケーション（ブラウザ）を主に操作するので、アクティビティパネルの「アプリケーション」のボタンを押し、表示されるアクティビティをアプリケーション関連のものに絞りましょう。</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="533" height="551" src="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-9.png" alt="" class="wp-image-549" srcset="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-9.png 533w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-9-290x300.png 290w" sizes="auto, (max-width: 533px) 100vw, 533px" /><figcaption>　</figcaption></figure>



<p class="wp-block-paragraph">　続いてGoogleにリクエストする検索ワードを設定するため、文字を入力アクティビティを配置します。このアクティビティも「画面上でターゲットを指定」が行えますので、入力ボックスの位置を画面を見て指定することが可能です。</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="465" height="617" src="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-10.png" alt="" class="wp-image-550" srcset="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-10.png 465w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-10-226x300.png 226w" sizes="auto, (max-width: 465px) 100vw, 465px" /></figure>



<p class="wp-block-paragraph">　検索ワードの入力ボックスをクリックします。</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="397" src="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-12-1024x397.png" alt="" class="wp-image-552" srcset="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-12-1024x397.png 1024w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-12-300x116.png 300w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-12-768x298.png 768w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-12-1536x596.png 1536w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-12.png 1922w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">　続いて「これを入力」をクリックし、入力する文字列を指定します。</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="971" height="685" src="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-13.png" alt="" class="wp-image-553" srcset="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-13.png 971w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-13-300x212.png 300w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-13-768x542.png 768w" sizes="auto, (max-width: 971px) 100vw, 971px" /></figure>



<p class="wp-block-paragraph">　これで文字を入力アクティビティの設定が完了しました。実行するとわかりますが、この状態では入力ボックスに「明日の天気」が入力されますが、検索までは実行されません。もちろん検索ボタンをクリックすればよいのですが、エンターキーでも同様のことが行えますので、今回はエンターキーを利用します。</p>



<p class="wp-block-paragraph">　文字を入力アクティビティの次に、キーボードショートカットアクティビティを繋げます。</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="529" height="622" src="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-16.png" alt="" class="wp-image-556" srcset="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-16.png 529w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-16-255x300.png 255w" sizes="auto, (max-width: 529px) 100vw, 529px" /></figure>



<p class="wp-block-paragraph">ショートカットをレコーディングをクリックし、エンターキーを押し、れコーティングを停止をクリックすることで、Enterキーがレコーディングされます。</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="531" height="296" src="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-17.png" alt="" class="wp-image-557" srcset="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-17.png 531w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-17-300x167.png 300w" sizes="auto, (max-width: 531px) 100vw, 531px" /></figure>



<p class="wp-block-paragraph">　しかし、これだけでは検索実行されないことがあります。なぜかというと検索ボックスに「明日の天気」を入力した際にIME（文字変換）が起動しており、Enter1回分がそのIMEの確定に使われてしまうためです。</p>



<p class="wp-block-paragraph">　試しに下記のようにEnter2回分をエミュレートさせたところ、問題なく検索が行われるようになることを確認しました。</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="549" height="285" src="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-18.png" alt="" class="wp-image-558" srcset="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-18.png 549w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-18-300x156.png 300w" sizes="auto, (max-width: 549px) 100vw, 549px" /></figure>



<p class="wp-block-paragraph">　実行後の画面はこちらの通りです。</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="634" src="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-19-1024x634.png" alt="" class="wp-image-559" srcset="https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-19-1024x634.png 1024w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-19-300x186.png 300w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-19-768x476.png 768w, https://blog.fits-inc.jp/wp-content/uploads/2020/06/image-19.png 1292w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">本日はUiPathを使用したGoogleでの明日の天気の検索を解説いたしました。Freeeへのログインや、Twitterへのログイン後のツイート、Slackへログイン後の投稿など、次回はより実務に役立つ応用編を投稿したいと思っています。次回もよろしくお願いいたします。</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
