<?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>#Mac Archives - anteelo</title>
	<atom:link href="https://anteelo.com/tag/mac/feed/" rel="self" type="application/rss+xml" />
	<link>https://anteelo.com/tag/mac/</link>
	<description>Leading Digital Solution Firm</description>
	<lastBuildDate>Sat, 15 May 2021 09:11:54 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://anteelo.com/wp-content/uploads/2020/01/cantlogo.png</url>
	<title>#Mac Archives - anteelo</title>
	<link>https://anteelo.com/tag/mac/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Mac OS- Using Protractor</title>
		<link>https://anteelo.com/mac-os-using-protractor/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mac-os-using-protractor</link>
		
		<dc:creator><![CDATA[Anteelo Master]]></dc:creator>
		<pubDate>Thu, 14 May 2020 13:58:36 +0000</pubDate>
				<category><![CDATA[General]]></category>
		<category><![CDATA[#Mac]]></category>
		<category><![CDATA[#Mac OS]]></category>
		<category><![CDATA[Protractor]]></category>
		<guid isPermaLink="false">https://anteelo.com/?p=3165</guid>

					<description><![CDATA[<p>If you are a QA Engineer then somewhere down the road you will come across Protractor/selenium and face limitations that come with automation. I faced a similar limitation when I had to copy a 7-page google document and paste it in my application to verify whether the formatting of the document is affected or not. [&#8230;]</p>
<p>The post <a href="https://anteelo.com/mac-os-using-protractor/">Mac OS- Using Protractor</a> appeared first on <a href="https://anteelo.com">anteelo</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div align="justify">
<p>If you are a QA Engineer then somewhere down the road you will come across Protractor/selenium and face limitations that come with automation. I faced a similar limitation when I had to copy a 7-page google <a href="https://anteelo.com/">document</a> and paste it in my <a href="https://www.instagram.com/anteelodesign/">application</a> to verify whether the formatting of the document is affected or not. So the problem here arises when we are working with mac OS.</p>
<p><img fetchpriority="high" decoding="async" class="aligncenter" src="https://www.apple.com/newsroom/images/product/os/macos/standard/apple_macos-bigsur_redesignedapps_06222020.jpg.landing-big_2x.jpg" alt="Anteelo design - Mac OS- Using Protractor" width="595" height="335" /></p>
<p>macOS + Selenium/Protractor doesn’t allow native functions to be called, which in simple words means that you cannot perform either <b>command +a</b>, <b>command + C,</b> or <b>command +v</b> in mac.</p>
<p>OSX does not support native key events, so the Driver simulates all key presses. This means that the keypress is contained within the “content” window, so the browser probably never sees the COMMAND as it would from a native event.</p>
<p>So I had to find a workaround in order to conquer the wild elephants and I would be talking about the same in this blog</p>
<ul>
<li>Cut: Shift+Delete</li>
<li>Copy: Ctrl+Insert</li>
<li>Paste: Shift+Insert</li>
<li>Select: SHIFT + Arrow_down</li>
</ul>
<h3><b>Select-All</b></h3>
<p>`browser.actions().sendKeys(protractor.Key.chord(protractor.Key.SHIFT, protractor.Key.ARROW_DOWN)).perform();</p>
<h3><b>Paste</b></h3>
<p>`browser.actions().sendKeys(protractor.Key.chord(protractor.Key.SHIFT, protractor.Key.INSERT)).perform();}</p>
<h3><b>Copy</b></h3>
<p>`browser.actions().sendKeys(protractor.Key.chord(protractor.Key.CONTROL, protractor.Key.INSERT)).perform();</p>
<p>&nbsp;</p>
</div>
<p>The post <a href="https://anteelo.com/mac-os-using-protractor/">Mac OS- Using Protractor</a> appeared first on <a href="https://anteelo.com">anteelo</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
