How do you set the value of an input field by complex selector? : <ul>
<li><a href="http://p3rl.org/WWW::Mechanize::Chrome" rel="noreferrer">WWW::Mechanize::Chrome</a> 0.10</li>
<li>Iridium 2017.11 in a headed desktop session</li>
</ul>

<p>I want to set the value of a certain <strong>formless</strong> input field.</p>

<pre><code>my $field = $w-&gt;selector('tr.edit td[data-attribute="name"] input', single =&gt; 1);
</code></pre>

<p>finds it.</p>

<pre><code>$field-&gt;attributes-&gt;{value} = 'test';
</code></pre>

<p>has no apparent effect.</p>

<p>Both</p>

<pre><code>$w-&gt;field($field =&gt; 'test');
</code></pre>

<p>and</p>

<pre><code>$w-&gt;field('tr.edit td[data-attribute="name"] input' =&gt; 'test');
</code></pre>

<p>error out with <code>No elements found for form number 1</code>.</p>
